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
commit10943b8749a16ffae491c66bcc23d7ea7b2168d4 (patch)
tree3668054b15b2d0fea7a6f548bf8966b11e5ae88b /examples
parent8617267a2ffce9170e7af53373495a3576fcf5c5 (diff)
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) {