Transcoder CAP Negotiation

Sebastian Dröge sebastian at centricular.com
Mon Jun 13 07:15:48 UTC 2016


On So, 2016-06-12 at 16:00 -0700, ht techdev wrote:
> [...]
> Trying to replace the avlib AVC decoder with another homebrewed
> version and am seeing endless calls to encoder’s video_encoder_class-
> >getcaps method, which returns the following:
>     returning video/x-raw, framerate=(fraction)[ 0/1, 2147483647/1 ],
> width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ],
> format=(string){ I420, I420_10LE }

In the code you pasted, nothing looks wrong. More information would be
needed, like at least a backtrace of the infinite calls (to see where
they come from) but ideally a testcase to reproduce the problem.

Also consider using GstVideoDecoder as baseclass for the decoder.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160613/953408e6/attachment.sig>


More information about the gstreamer-devel mailing list