mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
h264parser: Expose framerate even if fixed_frame_rate flag isn't set
There is nothing in the spec that state that framerate is not valid in that case. This aligns GStreamer with FFMPEG behaviour for similar streams. https://bugzilla.gnome.org/show_bug.cgi?id=793284
This commit is contained in:
parent
9af73aa1d1
commit
4300611082
1 changed files with 1 additions and 1 deletions
|
@ -2438,7 +2438,7 @@ gst_h264_video_calculate_framerate (const GstH264SPS * sps,
|
|||
if (sps) {
|
||||
if (sps->vui_parameters_present_flag) {
|
||||
const GstH264VUIParams *vui = &sps->vui_parameters;
|
||||
if (vui->timing_info_present_flag && vui->fixed_frame_rate_flag) {
|
||||
if (vui->timing_info_present_flag) {
|
||||
int delta_tfi_divisor = 1;
|
||||
num = vui->time_scale;
|
||||
den = vui->num_units_in_tick;
|
||||
|
|
Loading…
Reference in a new issue