mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
jpegparse: Fix duration in buffers. It's frames per second, not seconds per frame
This commit is contained in:
parent
6578797245
commit
2503e67ca9
1 changed files with 1 additions and 1 deletions
|
@ -821,7 +821,7 @@ gst_jpeg_parse_set_new_caps (GstJpegParse * parse, gboolean header_ok)
|
|||
if (!GST_CLOCK_TIME_IS_VALID (parse->priv->duration)
|
||||
&& parse->priv->framerate_numerator != 0) {
|
||||
parse->priv->duration = gst_util_uint64_scale_int (GST_SECOND,
|
||||
parse->priv->framerate_numerator, parse->priv->framerate_denominator);
|
||||
parse->priv->framerate_denominator, parse->priv->framerate_numerator);
|
||||
}
|
||||
} else {
|
||||
/* unknown duration */
|
||||
|
|
Loading…
Reference in a new issue