Commit bed0532c authored by Wim Taymans's avatar Wim Taymans

Indexing patch from vishnu

Original commit message from CVS:
Indexing patch from vishnu
parent 0b921d32
common @ 50879a63
Subproject commit bbd74e96ef37a7d437930f85f939a6a7d36dd012
Subproject commit 50879a63c4fa8f2544d4d89a9dbfa0f5720c3266
......@@ -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) {
......
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment