From 15d00a32fd5dabf1a2186bde402f179cc1db1076 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Mon, 17 Mar 2014 16:39:42 +0100 Subject: [PATCH] h264parse: Set framerate even for interlaced videos Co-Authored by: Mathieu Duponchelle https://bugzilla.gnome.org/show_bug.cgi?id=726752 --- gst-libs/gst/codecparsers/gsth264parser.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c index 054aa1c550..619bd78d6c 100644 --- a/gst-libs/gst/codecparsers/gsth264parser.c +++ b/gst-libs/gst/codecparsers/gsth264parser.c @@ -1348,8 +1348,7 @@ gst_h264_parse_sps_data (NalReader * nr, GstH264SPS * sps, vui->fixed_frame_rate_flag, sps->frame_mbs_only_flag, vui->pic_struct_present_flag); - if (parse_vui_params && vui->fixed_frame_rate_flag && - sps->frame_mbs_only_flag && !vui->pic_struct_present_flag) { + if (parse_vui_params && vui->fixed_frame_rate_flag) { sps->fps_num = vui->time_scale; sps->fps_den = vui->num_units_in_tick; /* picture is a frame = 2 fields */