From: Wim Taymans Date: Thu, 16 Aug 2007 11:20:56 +0000 (+0000) Subject: gst/playback/gstplaybasebin.c: Only post buffering messages when we are a stream. X-Git-Tag: RELEASE-0_10_15~160 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c59b5a2aae163a9b0be0e40ba5d2b05c70b7f48;p=platform%2Fupstream%2Fgst-plugins-base.git gst/playback/gstplaybasebin.c: Only post buffering messages when we are a stream. Original commit message from CVS: * gst/playback/gstplaybasebin.c: (queue_threshold_reached): Only post buffering messages when we are a stream. --- diff --git a/ChangeLog b/ChangeLog index 90d6d82..ac4ba5b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-08-16 Wim Taymans + + * gst/playback/gstplaybasebin.c: (queue_threshold_reached): + Only post buffering messages when we are a stream. + 2007-08-15 Tim-Philipp Müller * gst-libs/gst/pbutils/install-plugins.c: diff --git a/gst/playback/gstplaybasebin.c b/gst/playback/gstplaybasebin.c index 92cbfd8..3adc6a2 100644 --- a/gst/playback/gstplaybasebin.c +++ b/gst/playback/gstplaybasebin.c @@ -685,7 +685,8 @@ queue_threshold_reached (GstElement * queue, GstPlayBaseBin * play_base_bin) /* we post a 100% buffering message to notify the app that buffering is * completed and playback can start/continue */ - fill_buffer (play_base_bin, 100); + if (play_base_bin->is_stream) + fill_buffer (play_base_bin, 100); } /* this signal will be fired when one of the queues with raw