summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ca78289)
raw | patch | inline | side by side (parent: ca78289)
author | Stefan Kost <ensonic@users.sourceforge.net> | |
Tue, 24 Jun 2008 16:22:45 +0000 (16:22 +0000) | ||
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | |
Thu, 29 Oct 2009 10:17:16 +0000 (11:17 +0100) |
Original commit message from CVS:
* gst/playback/gstqueue2.c:
Do not double notify. Remove the unsued return value.
* gst/playback/gstqueue2.c:
Do not double notify. Remove the unsued return value.
gst/playback/gstqueue2.c | patch | blob | history |
index 73838c09b1fd3bbc762431a1a8d78e91eab1efe8..8a7255b4c5c914b335da6bd2921910fdc47899b7 100644 (file)
--- a/gst/playback/gstqueue2.c
+++ b/gst/playback/gstqueue2.c
#define QUEUE_THRESHOLD_CHANGE(q)\
g_cond_signal (queue->item_add);
-static gboolean
+static void
gst_queue_set_temp_location (GstQueue * queue, const gchar * location)
{
GstState state;
g_free (queue->temp_location);
queue->temp_location = g_strdup (location);
- g_object_notify (G_OBJECT (queue), "temp-location");
-
- return TRUE;
+ return;
/* ERROR */
wrong_state:
{
- GST_DEBUG_OBJECT (queue, "setting temp-location in wrong state");
+ GST_WARNING_OBJECT (queue, "setting temp-location in wrong state");
GST_OBJECT_UNLOCK (queue);
- return FALSE;
}
}