summaryrefslogtreecommitdiff
path: root/libavcodec/h264_parser.c
diff options
context:
space:
mode:
authorJoakim Plate <elupus@ecce.se>2013-06-27 23:09:06 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-07-21 16:04:02 +0200
commit8710a634a5d422d9ee9d1578ff1c07cd39f16ce0 (patch)
tree3d0d3f2b5d11adcbb4b247b1c4df04323b7a3664 /libavcodec/h264_parser.c
parent0f229f9b91fe3c4ebd97e88f004d638819b76add (diff)
h264: add frame packing as stereo_mode frame metadata
This matches the matroska defintion of stereo_mode, with no metadata written if no info exist in sei Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_parser.c')
-rw-r--r--libavcodec/h264_parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c
index 3b7d011374..db5adf723e 100644
--- a/libavcodec/h264_parser.c
+++ b/libavcodec/h264_parser.c
@@ -172,6 +172,7 @@ static inline int parse_nal_units(AVCodecParserContext *s,
h->sei_dpb_output_delay = 0;
h->sei_cpb_removal_delay = -1;
h->sei_buffering_period_present = 0;
+ h->sei_fpa.frame_packing_arrangement_cancel_flag = -1;
if (!buf_size)
return 0;