GNOME Bugzilla – Bug 656328
[ffdeinterlace] add automatic "mode" property
Last modified: 2011-09-26 18:24:00 UTC
I did a pretty mechanical (not understanding GStreamer internals and code base that well) patch porting the mode property from good plugins deinterlace because having this control and also automatic mode is quite convenient for us. Would something like this be acceptable for merging upstream? At least in principle, I realize patch might have issues. :)
Created attachment 193617 [details] [review] Patch adding mode property to ffdeinterlace
This is a reasonable direction to go. Please attach a new patch that is created by 'git format-patch', assuming you're compiling from git. This makes the patch a lot easier to review.
Created attachment 193676 [details] [review] Patch generated with git format-patch
Thank you.
This bit looks a bit dodgy to me at first glance if (GST_PAD_CAPS (deinterlace->srcpad)) gst_ffmpegdeinterlace_sink_setcaps (deinterlace->sinkpad, GST_PAD_CAPS (deinterlace->sinkpad)); but I guess it doesn't hurt either.. commit 42cb5bd386f7f4664a104cfaefc53f57e635b246 Author: Tvrtko Ursulin <tvrtko.ursulin@onelan.co.uk> Date: Fri Aug 12 09:06:03 2011 +0100 ffdeinterlace: add "mode" property including automatic mode Just like deinterlace. https://bugzilla.gnome.org/show_bug.cgi?id=656328