Revert "playsink: Try include 'pitch', if no other sink is provided"

This reverts commit 105814e2c7.

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.
This commit is contained in:
Tim-Philipp Müller 2011-09-05 14:40:24 +01:00
parent 705ca1d55a
commit b1c00adf31

View file

@ -1664,14 +1664,6 @@ gen_audio_chain (GstPlaySink * playsink, gboolean raw)
chain->sink = try_element (playsink, playsink->audio_sink, FALSE);
} 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");