summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2003-01-20 19:36:46 +0000
committerWim Taymans <wim.taymans@gmail.com>2003-01-20 19:36:46 +0000
commit9145d0135b1283b1f080feb8106329b441e23735 (patch)
tree4e85684703668c06e8ca32ace262c94c74049ec6 /examples
parentf23030c5e208a499a622b514c84ff912b77a86b7 (diff)
downloadgst-plugins-bad-9145d0135b1283b1f080feb8106329b441e23735.tar.gz
gst-plugins-bad-9145d0135b1283b1f080feb8106329b441e23735.tar.bz2
gst-plugins-bad-9145d0135b1283b1f080feb8106329b441e23735.zip
Indexing patch from vishnu
Original commit message from CVS: Indexing patch from vishnu
Diffstat (limited to 'examples')
-rw-r--r--examples/indexing/indexmpeg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/indexing/indexmpeg.c b/examples/indexing/indexmpeg.c
index a31f2a76..7540d163 100644
--- a/examples/indexing/indexmpeg.c
+++ b/examples/indexing/indexmpeg.c
@@ -153,6 +153,10 @@ make_mpeg_decoder_pipeline (const gchar *path, GstIndex *index)
audio_bin = gst_bin_new ("audio_bin");
audio_decoder = gst_element_factory_make ("mad", "audio_decoder");
+ setup_dynamic_linking (pipeline, demux, "audio_00",
+ gst_element_get_pad (audio_decoder, "sink"),
+ audio_bin, index);
+
gst_bin_add (GST_BIN (audio_bin), audio_decoder);
if (index) {