I'm developing a plugin that filters a video. That plugin can read data
from pad in YUV422 and RGB24 format. Should I to add support for other formats of YUV and RGB? I mean, the end-user can send data to my plugin with different color space and my plugin will reject it. Should I add functionality for <as many as possible> formats or just tell end-user to convert data before? Thank you. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
You should add more possibilities only if you filter can use it directly without convert it. I mean if you have to convert them before, it has not interest to do the samething as the ffmpegcolorspace does. Julien 2008/4/11, AlannY <[hidden email]>: I'm developing a plugin that filters a video. That plugin can read data ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by AlannY-2
On Fri, 2008-04-11 at 17:30 +0400, AlannY wrote:
> I'm developing a plugin that filters a video. That plugin can read data > from pad in YUV422 and RGB24 format. Should I to add support for other > formats of YUV and RGB? I mean, the end-user can send data to my plugin > with different color space and my plugin will reject it. Should I add > functionality for <as many as possible> formats or just tell end-user to > convert data before? You should only advertise the exact format(s) your plugin is actually able to handle. That way upstream elements like ffmpegcolorspace and the like can figure out if they need to do any conversions or not. Do not advertise formats you are going to reject. Cheers -Tim ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |