summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 22dc54c)
raw | patch | inline | side by side (parent: 22dc54c)
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) |
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
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 | patch | blob | history |
index 3f7474611fe323583b2407bc1eb0a4f4452923d8..4e03c69d76d2a7246f6d9e1fa1373ae8210b23a8 100644 (file)
("%d consecutive decoding errors", mpeg2dec->error_count),
(NULL));
}
- goto exit;
+ continue;
default:
GST_ERROR_OBJECT (mpeg2dec, "Unknown libmpeg2 state %d, FIXME", state);
goto exit;