Commit 06157943 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

playbin: use avdeinterlace for deinterlacing until deinterlace is ported

parent abcba2d0
......@@ -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,
......
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