mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
videomixer: The queued duration is a signed integer
...and it will really be negative sometimes.
This commit is contained in:
parent
7418dee253
commit
93089ef445
1 changed files with 2 additions and 2 deletions
|
@ -1263,7 +1263,7 @@ static void
|
|||
gst_videomixer_update_queues (GstVideoMixer * mix)
|
||||
{
|
||||
GSList *walk;
|
||||
guint64 interval;
|
||||
gint64 interval;
|
||||
|
||||
interval = mix->master->queued;
|
||||
if (interval <= 0) {
|
||||
|
@ -1272,7 +1272,7 @@ gst_videomixer_update_queues (GstVideoMixer * mix)
|
|||
} else {
|
||||
interval = gst_util_uint64_scale_int (GST_SECOND, mix->fps_d, mix->fps_n);
|
||||
}
|
||||
GST_LOG_OBJECT (mix, "set interval to %" G_GUINT64_FORMAT " nanoseconds",
|
||||
GST_LOG_OBJECT (mix, "set interval to %" G_GINT64_FORMAT " nanoseconds",
|
||||
interval);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue