summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2010-05-07 15:34:37 +0200
committerEdward Hervey <bilboed@bilboed.com>2010-05-07 15:34:37 +0200
commit37c4bf3ed72be1eaf581c368c027d6760ca2f525 (patch)
tree7e6bb9a274a84f3004619b540ad2fb7e737c3697
parent971d3115242e0742e230cfa5b8f68423d3dea0b0 (diff)
gnlurisource: Set 'expose-all-streams' on uridecodebin to FALSE
We only need the stream specified in the caps
-rw-r--r--gnl/gnlurisource.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnl/gnlurisource.c b/gnl/gnlurisource.c
index 8770e17..400bfe0 100644
--- a/gnl/gnlurisource.c
+++ b/gnl/gnlurisource.c
@@ -111,6 +111,7 @@ gnl_urisource_init (GnlURISource * urisource,
/* We create a bin with source and decodebin within */
decodebin =
gst_element_factory_make ("uridecodebin", "internal-uridecodebin");
+ g_object_set (decodebin, "expose-all-streams", FALSE, NULL);
gst_bin_add (GST_BIN (urisource), decodebin);
}