summaryrefslogtreecommitdiff
path: root/gst/videoparsers
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-09-12 11:01:34 +0200
committerTim-Philipp Müller <tim@centricular.net>2012-09-12 10:39:32 +0100
commit2c3eaf527b3224b9be9ec7fe9d7f26fef9e5eb87 (patch)
treebe92365785c61ecaf7b7bc2d95d740908f5f10db /gst/videoparsers
parenta08273be72a01e9b1c2e0e2845bfca904908403f (diff)
downloadgstreamer-plugins-bad-2c3eaf527b3224b9be9ec7fe9d7f26fef9e5eb87.tar.gz
codecparsers: h264parse: don't use anonymous unions.
Anonymous union is an ISO C (2011) feature that is not exposed in compilers strictly conforming to the previous standard. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Diffstat (limited to 'gst/videoparsers')
-rw-r--r--gst/videoparsers/gsth264parse.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c
index 020f3c625..bae0c94df 100644
--- a/gst/videoparsers/gsth264parse.c
+++ b/gst/videoparsers/gsth264parse.c
@@ -492,10 +492,11 @@ gst_h264_parse_process_nal (GstH264Parse * h264parse, GstH264NalUnit * nalu)
switch (sei.payloadType) {
case GST_H264_SEI_PIC_TIMING:
h264parse->sei_pic_struct_pres_flag =
- sei.pic_timing.pic_struct_present_flag;
- h264parse->sei_cpb_removal_delay = sei.pic_timing.cpb_removal_delay;
+ sei.payload.pic_timing.pic_struct_present_flag;
+ h264parse->sei_cpb_removal_delay =
+ sei.payload.pic_timing.cpb_removal_delay;
if (h264parse->sei_pic_struct_pres_flag)
- h264parse->sei_pic_struct = sei.pic_timing.pic_struct;
+ h264parse->sei_pic_struct = sei.payload.pic_timing.pic_struct;
break;
case GST_H264_SEI_BUF_PERIOD:
if (h264parse->ts_trn_nb == GST_CLOCK_TIME_NONE ||