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:
4da9692
)
avviddec: Post error message before returning a flow error
author
Olivier Crête
<olivier.crete@collabora.com>
Wed, 3 Jun 2015 00:48:33 +0000
(20:48 -0400)
committer
Olivier Crête
<olivier.crete@collabora.com>
Wed, 3 Jun 2015 00:48:33 +0000
(20:48 -0400)
This is required.
ext/libav/gstavviddec.c
patch
|
blob
|
history
diff --git
a/ext/libav/gstavviddec.c
b/ext/libav/gstavviddec.c
index 83df91774abefb0044e75616c931f692509db02c..18e5439d5278781b92d014b857cf618d015b200c 100644
(file)
--- a/
ext/libav/gstavviddec.c
+++ b/
ext/libav/gstavviddec.c
@@
-1490,7
+1490,8
@@
gst_ffmpegviddec_handle_frame (GstVideoDecoder * decoder,
GST_TIME_ARGS (frame->pts), GST_TIME_ARGS (frame->duration));
if (!gst_buffer_map (frame->input_buffer, &minfo, GST_MAP_READ)) {
- GST_ERROR_OBJECT (ffmpegdec, "Failed to map buffer");
+ GST_ELEMENT_ERROR (ffmpegdec, STREAM, DECODE, ("Decoding problem"),
+ ("Failed to map buffer for reading"));
return GST_FLOW_ERROR;
}