mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
gst-libs/gst/app/gstappsink.c: Don't use new API.
Original commit message from CVS: * gst-libs/gst/app/gstappsink.c: (gst_app_sink_flush_unlocked): Don't use new API.
This commit is contained in:
parent
5111980fa8
commit
acf2b8fb5b
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-08-14 Wim Taymans <wim.taymans@gmail.com>
|
||||
|
||||
* gst-libs/gst/app/gstappsink.c: (gst_app_sink_flush_unlocked):
|
||||
Don't use new API.
|
||||
|
||||
2007-08-14 Wim Taymans <wim.taymans@gmail.com>
|
||||
|
||||
* gst-libs/gst/app/gstappsink.c: (gst_app_sink_base_init),
|
||||
|
|
|
@ -167,11 +167,13 @@ gst_app_sink_get_property (GObject * object, guint prop_id, GValue * value,
|
|||
static void
|
||||
gst_app_sink_flush_unlocked (GstAppSink * appsink)
|
||||
{
|
||||
GstBuffer *buffer;
|
||||
|
||||
GST_DEBUG_OBJECT (appsink, "flushing appsink");
|
||||
appsink->end_of_stream = FALSE;
|
||||
gst_buffer_replace (&appsink->preroll, NULL);
|
||||
g_queue_foreach (appsink->queue, (GFunc) gst_mini_object_unref, NULL);
|
||||
g_queue_clear (appsink->queue);
|
||||
while ((buffer = g_queue_pop_head (appsink->queue)))
|
||||
gst_buffer_unref (buffer);
|
||||
g_cond_signal (appsink->cond);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue