mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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
This commit is contained in:
parent
f566d17202
commit
15d00a32fd
1 changed files with 1 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue