decoder: handle currputed stream

Sebastian Dröge sebastian at centricular.com
Fri Jan 9 00:49:07 PST 2015


On Do, 2015-01-08 at 02:51 +0000, Bing Song wrote:
> Hi,
> 
> Audio and video decoder base can decide how to handle decode error by set max error count. It will continue decode if error count less than max error count. Subclass also can set max error to 0 for always continue decoder if decode error.
> 
> But I can't see send GAP event when decoder error, it will blocked by can't finish pre-roll when decode corrupted stream. We has one stream which video is ok and audio is whole corrupted stream, it blocked when changed to PAUSE state. Do we need send GAP event when decoder error to start playback and keep sync?
> 
> Below code will send ERROR if no output when received EOS. Audio and video decoder base also have max error count to handle corrupted stream. Why need below code to handle it? It will cause issue when corrupted audio is shorter then video and will cause video playback exit.
> [...]

See my comments in the bug report of your colleague :)
https://bugzilla.gnome.org/show_bug.cgi?id=741542

-- 
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: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150109/a43638f7/attachment.sig>


More information about the gstreamer-devel mailing list