GNOME Bugzilla – Bug 697232
vp8dec reports decoding errors as "No key frame" giving no extra information
Last modified: 2013-04-10 17:57:54 UTC
Created attachment 240559 [details] [review] Patch for improving debugging Invalid data is reported as "No key frame", this is fine if it's valid VP8, but if it's not it would be good to report information from libvpx.
Created attachment 240560 [details] [review] Patch for improving debugging
Shouldn't it be else if (!stream_info.is_kf) ? Also, could you please run git config --global user.email "tcdgreenwood@hotmail.com" so your patches don't have "Tom Greenwood <tgreenwood@Toms-MacBook-Pro.local>" as author.
commit 3d335cb1ed23b5a35c22277d29575a929ef942ad Author: Tom Greenwood <tgreenwood@Toms-MacBook-Pro.local> Date: Wed Apr 3 23:52:47 2013 +0100 vp8dec: Improve logging when vpx_codec_peek_stream_info fails Decode failures and missing keyframes should get different debug output. https://bugzilla.gnome.org/show_bug.cgi?id=697232
I will change my address. I didn't think the else if mattered as both paths should always return - happy to change to else if if that is better from your coding style POV.