Indexing patch from vishnu
authorWim Taymans <wim.taymans@gmail.com>
Mon, 20 Jan 2003 19:36:46 +0000 (19:36 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 20 Jan 2003 19:36:46 +0000 (19:36 +0000)
Original commit message from CVS:
Indexing patch from vishnu

common
examples/indexing/indexmpeg.c
tests/old/examples/indexing/indexmpeg.c

diff --git a/common b/common
index bbd74e9..50879a6 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit bbd74e96ef37a7d437930f85f939a6a7d36dd012
+Subproject commit 50879a63c4fa8f2544d4d89a9dbfa0f5720c3266
index a31f2a7..7540d16 100644 (file)
@@ -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) {
index a31f2a7..7540d16 100644 (file)
@@ -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) {