Have MediaParserFfmpeg::seekMedia return -1 on error. Properly signals parsing errors...
commite632f2ea4460637bf1b0f8ebbd6a53c47838abb6
authorSandro Santilli <strk@keybit.net>
Fri, 11 Mar 2011 16:00:51 +0000 (11 17:00 +0100)
committerSandro Santilli <strk@keybit.net>
Fri, 11 Mar 2011 16:00:51 +0000 (11 17:00 +0100)
treefa5077906e66ea37b540ec9a2ac533653a493ef2
parent1163866db47b0177d0dd894dc5e50ccc5cf9734b
Have MediaParserFfmpeg::seekMedia return -1 on error. Properly signals parsing errors in the upper levels, which then consider the input finished and show what they got so far. By all effects, this fixes playback of the infamous "the snow plugin" movie, bug #32751.
libmedia/ffmpeg/MediaParserFfmpeg.cpp