projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c70ba77
)
vp8dec: Don't give up so easily if failed to decode a frame
author
Debarshi Ray
<rishi@gnu.org>
Fri, 9 Nov 2012 15:31:05 +0000
(16:31 +0100)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Fri, 9 Nov 2012 15:43:58 +0000
(16:43 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=687436
ext/vpx/gstvp8dec.c
patch
|
blob
|
history
diff --git
a/ext/vpx/gstvp8dec.c
b/ext/vpx/gstvp8dec.c
index
0d4525d
..
188b0ad
100644
(file)
--- a/
ext/vpx/gstvp8dec.c
+++ b/
ext/vpx/gstvp8dec.c
@@
-511,9
+511,9
@@
gst_vp8_dec_handle_frame (GstVideoDecoder * decoder, GstVideoCodecFrame * frame)
gst_buffer_unmap (frame->input_buffer, &minfo);
if (status) {
- GST_
ELEMENT_ERROR (decoder
, LIBRARY, ENCODE,
- ("Failed to decode frame"), ("%s", gst_vpx_error_name (status)));
- return
GST_FLOW_ERROR
;
+ GST_
VIDEO_DECODER_ERROR (decoder, 1
, LIBRARY, ENCODE,
+ ("Failed to decode frame"), ("%s", gst_vpx_error_name (status))
, ret
);
+ return
ret
;
}
img = vpx_codec_get_frame (&dec->decoder, &iter);