[MPlayer-dev-eng] [PATCH] vf_ass: support uyvy and yuy2 directly

Xidorn Quan quanxunzhen at gmail.com
Sat Aug 25 18:16:52 CEST 2012


On Sat, Aug 25, 2012 at 9:04 PM, Reimar Döffinger
<Reimar.Doeffinger at gmx.de>wrote:

>
> Well, but that does not have anything to do with supporting
> YUY2/UYVY formats but would make sense even without it?
> I think that whole logic is broken, vf->priv->outfmt should
> not be decided on opening the filter, but it should depend on the
> input format.
> This also means that the query function then can't use vf->priv->outfmt
> at all (because it will not me set) but instead it should return
> vf_next_query_format(vf, fmt) for all fmt it supports just like other
> filters.
> In addition it should be adding VFCAP_EOSD to the flags, since it
> provides that.
> The only issue with all this is that it still needs to do a bit
> of a hack to check for VFCAP_EOSD on vf_open.
>

Well, I modified this code according to a logical way, but I have
no confidence on whether it is correct or not.

The patch is attached.

Best Regards,
Xidorn Quan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer_vf_ass_yuv422.patch
Type: application/octet-stream
Size: 10139 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20120826/0a7641d1/attachment.obj>


More information about the MPlayer-dev-eng mailing list