mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
mpeg4videoparse: don't set an invalid framerate.
When fixed_vop_rate is not set we can not set a framerate based on vop_time_increment_resolution as it would most likely be wrong. Don't set any framerate on the caps in that case.
This commit is contained in:
parent
774b7b33cc
commit
f33344ab0c
1 changed files with 2 additions and 1 deletions
|
@ -298,7 +298,8 @@ gst_mpeg4vparse_handle_vo (GstMpeg4VParse * parse, const guint8 * data,
|
|||
|
||||
fixed_time_increment = bits;
|
||||
} else {
|
||||
fixed_time_increment = 1;
|
||||
/* When fixed_vop_rate is not set we can't guess any framerate */
|
||||
fixed_time_increment = 0;
|
||||
}
|
||||
GST_DEBUG_OBJECT (parse, "fixed time increment %d", fixed_time_increment);
|
||||
|
||||
|
|
Loading…
Reference in a new issue