author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | |
Mon, 22 Aug 2011 16:49:14 +0000 (17:49 +0100) | ||
committer | Nikhil Devshatwar <a0132237@ti.com> | |
Fri, 17 May 2013 09:40:36 +0000 (15:10 +0530) | ||
commit | 6730bdfd7339b65f520cb835b3c354215d4b5f21 | |
tree | b62fd09bfdc4a2391e83695b4a833666f9ea71cb | tree | snapshot (tar.xz tar.gz zip) |
parent | 22dc54c9aef23f12f131504360b082753419cdb2 | commit | diff |
mpeg2dec: fix spurious failure to decode some files
Parsing can return with an 'invalid' state, but this is not
actually fatal. For one, the mpeg2dec command line tool that
comes with the libmpeg2 library blithely ignores this condition
and merrily goes on. So we do this same, logging the error,
and going on with parsing. This makes something work that did
not use to work, and brings happiness to the world.
https://bugzilla.gnome.org/show_bug.cgi?id=429476
Parsing can return with an 'invalid' state, but this is not
actually fatal. For one, the mpeg2dec command line tool that
comes with the libmpeg2 library blithely ignores this condition
and merrily goes on. So we do this same, logging the error,
and going on with parsing. This makes something work that did
not use to work, and brings happiness to the world.
https://bugzilla.gnome.org/show_bug.cgi?id=429476
ext/mpeg2dec/gstmpeg2dec.c | diff | blob | history |