From: Tim-Philipp Müller Date: Mon, 5 Sep 2011 13:40:24 +0000 (+0100) Subject: Revert "playsink: Try include 'pitch', if no other sink is provided" X-Git-Tag: 1.19.3~511^2~6555^2~536 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b1c00adf313748e8c4532512364740f2d10bd88e;p=platform%2Fupstream%2Fgstreamer.git Revert "playsink: Try include 'pitch', if no other sink is provided" This reverts commit 105814e2c78f9867c61531b9e8166e4ae994296f. The general consensus seems to be that we should revert this for now. If such behaviour is desired, we should probably enable it via a flag. And maybe use the scaletempo plugin instead. --- diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c index 90c71eb..32d0ae7 100644 --- a/gst/playback/gstplaysink.c +++ b/gst/playback/gstplaysink.c @@ -1665,14 +1665,6 @@ gen_audio_chain (GstPlaySink * playsink, gboolean raw) } else { /* only try fallback if no specific sink was chosen */ if (chain->sink == NULL) { - GST_DEBUG_OBJECT (playsink, - "trying pitch ! audioconvert ! autoaudiosink"); - elem = - gst_parse_bin_from_description - ("pitch ! audioconvert ! autoaudiosink", TRUE, NULL); - chain->sink = try_element (playsink, elem, TRUE); - } - if (chain->sink == NULL) { GST_DEBUG_OBJECT (playsink, "trying autoaudiosink"); elem = gst_element_factory_make ("autoaudiosink", "audiosink"); chain->sink = try_element (playsink, elem, TRUE);