Message info
 
To:gstreamer-commits@lists.freedesktop.org From:Thibault Saunier Subject:gst-plugins-bad: hls: Minor cleanup in GstUriDownloader Date:Thu, 5 Apr 2012 14:15:51 -0700 (PDT)
 

Module: gst-plugins-bad
Branch: master
Commit: 2415f9080d3c772ad134b7283c07a8d58545198b
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=2415f9080d3c772ad134b7283c07a8d58545198b

Author: Thibault Saunier <thibault.saunier@collabora.com>
Date: Wed Mar 14 17:01:17 2012 -0400

hls: Minor cleanup in GstUriDownloader

---

gst/hls/gsturidownloader.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/gst/hls/gsturidownloader.c b/gst/hls/gsturidownloader.c
index 4e34401..74604c2 100644
--- a/gst/hls/gsturidownloader.c
+++ b/gst/hls/gsturidownloader.c
@@ -37,7 +37,6 @@ struct _GstUriDownloaderPrivate
GstElement *urisrc;
GstBus *bus;
GstPad *pad;
- GstTask *task;
GTimeVal *timeout;
GstFragment *download;
GMutex *lock;
@@ -126,11 +125,6 @@ gst_uri_downloader_dispose (GObject * object)
downloader->priv->download = NULL;
}

- if (downloader->priv->task) {
- g_object_unref (downloader->priv->task);
- downloader->priv->download = NULL;
- }
-
G_OBJECT_CLASS (gst_uri_downloader_parent_class)->dispose (object);
}

@@ -168,6 +162,7 @@ gst_uri_downloader_sink_event (GstPad * pad, GstEvent * event)
GST_OBJECT_UNLOCK (downloader);
GST_DEBUG_OBJECT (downloader, "Signaling chain funtion");
g_cond_signal (downloader->priv->cond);
+
} else {
GST_OBJECT_UNLOCK (downloader);
}

_______________________________________________
gstreamer-commits mailing list
gstreamer-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits