playbin: use avdeinterlace for deinterlacing until deinterlace is ported

This commit is contained in:
Tim-Philipp Müller 2012-07-17 13:45:13 +01:00
parent abcba2d0d7
commit 0615794300

View file

@ -1363,6 +1363,10 @@ gen_video_deinterlace_chain (GstPlaySink * playsink)
GST_DEBUG_OBJECT (playsink, "creating deinterlace");
chain->deinterlace = gst_element_factory_make ("deinterlace", "deinterlace");
if (chain->deinterlace == NULL) {
chain->deinterlace =
gst_element_factory_make ("avdeinterlace", "deinterlace");
}
if (chain->deinterlace == NULL) {
post_missing_element_message (playsink, "deinterlace");
GST_ELEMENT_WARNING (playsink, CORE, MISSING_PLUGIN,