summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-03-17 13:47:55 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-03-17 13:47:55 +0000
commitecc9fb54daa3e057723d10a72c30fb493b75ff2d (patch)
treedbdc2634c4c92261854937cdaefe9f667d5d4cdf
parent2e2d689e9a3edcf0d03299c598cda741a5acb992 (diff)
downloadgstreamer-ecc9fb54daa3e057723d10a72c30fb493b75ff2d.tar.gz
hm, this might take some time
Original commit message from CVS: hm, this might take some time
-rw-r--r--gst/gstqueue.c2
-rw-r--r--plugins/elements/gstqueue.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/gstqueue.c b/gst/gstqueue.c
index 9243490b44..08bd4810ca 100644
--- a/gst/gstqueue.c
+++ b/gst/gstqueue.c
@@ -327,9 +327,9 @@ restart:
/* handle events */
if (queue->upstream_event)
{
+ GstPad *peer = GST_PAD_PEER (pad);
g_print ("handling event\n");
g_mutex_lock (queue->upstream_mutex);
- GstPad *peer = GST_PAD_PEER (pad);
if (peer)
{
diff --git a/plugins/elements/gstqueue.c b/plugins/elements/gstqueue.c
index 9243490b44..08bd4810ca 100644
--- a/plugins/elements/gstqueue.c
+++ b/plugins/elements/gstqueue.c
@@ -327,9 +327,9 @@ restart:
/* handle events */
if (queue->upstream_event)
{
+ GstPad *peer = GST_PAD_PEER (pad);
g_print ("handling event\n");
g_mutex_lock (queue->upstream_mutex);
- GstPad *peer = GST_PAD_PEER (pad);
if (peer)
{