mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
gst/playback/gstqueue2.c: Do not double notify. Remove the unsued return value.
Original commit message from CVS: * gst/playback/gstqueue2.c: Do not double notify. Remove the unsued return value.
This commit is contained in:
parent
1834a009a1
commit
69f2aaea3c
2 changed files with 8 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-06-24 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* gst/playback/gstqueue2.c:
|
||||
Do not double notify. Remove the unsued return value.
|
||||
|
||||
2008-06-24 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* ext/alsa/gstalsamixer.c:
|
||||
|
|
|
@ -1927,7 +1927,7 @@ gst_queue_change_state (GstElement * element, GstStateChange transition)
|
|||
#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;
|
||||
|
@ -1943,16 +1943,13 @@ gst_queue_set_temp_location (GstQueue * queue, const gchar * location)
|
|||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue