h264parse: Set framerate even for interlaced videos
authorThibault Saunier <tsaunier@gnome.org>
Mon, 17 Mar 2014 15:39:42 +0000 (16:39 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 10 Apr 2014 07:09:38 +0000 (09:09 +0200)
Co-Authored by: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>

https://bugzilla.gnome.org/show_bug.cgi?id=726752

gst-libs/gst/codecparsers/gsth264parser.c

index 054aa1c..619bd78 100644 (file)
@@ -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 */