summaryrefslogtreecommitdiff
path: root/gst-libs/gst/codecparsers/gsth264parser.c
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2014-03-17 16:39:42 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-04-10 09:09:38 +0200
commit15d00a32fd5dabf1a2186bde402f179cc1db1076 (patch)
treeb749635b33670e0a055a44d69ad81cce6b3e0cba /gst-libs/gst/codecparsers/gsth264parser.c
parentf566d172025f785bcc8b4ad4110399140f2512bd (diff)
downloadgstreamer-plugins-bad-15d00a32fd5dabf1a2186bde402f179cc1db1076.tar.gz
h264parse: Set framerate even for interlaced videos
Co-Authored by: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com> https://bugzilla.gnome.org/show_bug.cgi?id=726752
Diffstat (limited to 'gst-libs/gst/codecparsers/gsth264parser.c')
-rw-r--r--gst-libs/gst/codecparsers/gsth264parser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c
index 054aa1c55..619bd78d6 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 */