how to add a new cap type for video sink like "video/x-raw-va"
I try to add a new type in xvimagesink pad, but met some problem, could you
kindly give some advice. Thanks.
There are pad cap for
video sink like "video/x-raw-rgb " and "video/x-raw-yuv";
I try to add a new type to
support another display mode, for example, video driver display the frame
directly without XvPutImage.
I do not define a new cap type, but use “video/x-raw-yuv” stealthily.
It could work.
I still use “video/x-raw-rgb” in libgstmpeg2dec, but only provide some
handler/ReferenceID in the buffer instead of YUV data. And xvimagesink parse the
handler/ReferenceID in buffer for display.
I try to define a new cap type, I got some “Internal data flow error”
I try to
define a new cap type in gstmpeg2dec.c: modify in pad template and
the same new cap in xvimagesink.c: modify in pad template and
pad negotiation is ok, but fail at “Internal data flow error”.