video-source: Do not ever plugin avdeinterlace

It is not feature compatible with deinterlace and is not safe to use
This commit is contained in:
Thibault Saunier 2016-04-29 10:05:10 -03:00
parent 59d7a06b52
commit 05f62cb84c

View file

@ -143,9 +143,6 @@ ges_video_source_create_element (GESTrackElement * trksrc)
gst_element_factory_make ("videoconvert", "track-element-videoconvert"); gst_element_factory_make ("videoconvert", "track-element-videoconvert");
videorate = gst_element_factory_make ("videorate", "track-element-videorate"); videorate = gst_element_factory_make ("videorate", "track-element-videorate");
deinterlace = gst_element_factory_make ("deinterlace", "deinterlace"); deinterlace = gst_element_factory_make ("deinterlace", "deinterlace");
if (deinterlace == NULL) {
deinterlace = gst_element_factory_make ("avdeinterlace", "deinterlace");
}
capsfilter = capsfilter =
gst_element_factory_make ("capsfilter", "track-element-capsfilter"); gst_element_factory_make ("capsfilter", "track-element-capsfilter");