gst/playback/gstplaybasebin.c: Only post buffering messages when we are a stream.
authorWim Taymans <wim.taymans@gmail.com>
Thu, 16 Aug 2007 11:20:56 +0000 (11:20 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 16 Aug 2007 11:20:56 +0000 (11:20 +0000)
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (queue_threshold_reached):
Only post buffering messages when we are a stream.

ChangeLog
gst/playback/gstplaybasebin.c

index 90d6d82..ac4ba5b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
+
+       * gst/playback/gstplaybasebin.c: (queue_threshold_reached):
+       Only post buffering messages when we are a stream.
+
 2007-08-15  Tim-Philipp Müller  <tim at centricular dot net>
 
        * gst-libs/gst/pbutils/install-plugins.c:
index 92cbfd8..3adc6a2 100644 (file)
@@ -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