Search
SailfishOS Open Build Service
>
Projects
>
home:sledge
:
branches:nemo:devel:hw:ti:omap4:common
>
gst-plugins-base
> 0049-streamsynchronizer-Don-t-wait-on-non-time-streams.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0049-streamsynchronizer-Don-t-wait-on-non-time-streams.patch of Package gst-plugins-base
From cef29f4da5e46ef695ee12fb9838de8c76bbd7f5 Mon Sep 17 00:00:00 2001 From: Edward Hervey <edward.hervey@collabora.co.uk> Date: Tue, 11 Sep 2012 16:27:24 +0200 Subject: [PATCH] streamsynchronizer: Don't wait on non-time streams streams with non-TIME segments will not have timestamps ... ... and therefore will never unblock the other streams. Fixes blocking issue when using playbin suburi feature --- gst/playback/gststreamsynchronizer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst/playback/gststreamsynchronizer.c b/gst/playback/gststreamsynchronizer.c index f22ab4b..64dbdf8 100644 --- a/gst/playback/gststreamsynchronizer.c +++ b/gst/playback/gststreamsynchronizer.c @@ -455,6 +455,9 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstEvent * event) GST_WARNING_OBJECT (pad, "Non-TIME segment: %s", gst_format_get_name (format)); gst_segment_init (&stream->segment, GST_FORMAT_UNDEFINED); + /* Since this stream is not time-based, we mark it so that + * other streams don't wait forever on it */ + stream->wait = TRUE; } GST_STREAM_SYNCHRONIZER_UNLOCK (self); break; -- 1.7.9.5