GNOME Bugzilla – Bug 771441
vaapidecode: h264/avc3 streams cannot be played
Last modified: 2016-09-30 07:05:28 UTC
When network streams have format AVC3 they cannot be played with vaapidecode because the internal parser never have enough data.
Created attachment 335550 [details] [review] vaapidecode: codec_data minimal size is 7 When the format of a H.264 stream is AVC3, the SPS and PPS are inside the stream, not in the codec_data, so the size of codec_data might be 7. This patch reduces the minimal size of the codec_data buffer from 8 to 7.
Comment on attachment 335550 [details] [review] vaapidecode: codec_data minimal size is 7 Why was it 8 before though? That also seems too small for avcC with SPS and PPS :)
Should I merge this also into 1.8?
commit 9afa0ce47169cc91aa212dcf7db375a64244c0ba Author: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> Date: Wed Sep 14 18:42:09 2016 +0200 vaapidecode: codec_data minimal size is 7 When the format of a H.264 stream is AVC3, the SPS and PPS are inside the stream, not in the codec_data, so the size of codec_data might be 7. This patch reduces the minimal size of the codec_data buffer from 8 to 7. https://bugzilla.gnome.org/show_bug.cgi?id=771441