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:
36c4ae0
)
avvidenc: Fix error propagation
author
Edward Hervey
<edward@centricular.com>
Fri, 29 Nov 2019 08:25:24 +0000
(09:25 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Fri, 29 Nov 2019 14:22:09 +0000
(14:22 +0000)
Instead of returning the default return value (GST_FLOW_OK), actually
return an error one (res vs ret).
ext/libav/gstavvidenc.c
patch
|
blob
|
history
diff --git
a/ext/libav/gstavvidenc.c
b/ext/libav/gstavvidenc.c
index
621d00b
..
34eef90
100644
(file)
--- a/
ext/libav/gstavvidenc.c
+++ b/
ext/libav/gstavvidenc.c
@@
-653,7
+653,7
@@
gst_ffmpegvidenc_receive_packet (GstFFMpegVidEnc * ffmpegenc,
ret = GST_FLOW_EOS;
goto done;
} else if (res < 0) {
- re
s
= GST_FLOW_ERROR;
+ re
t
= GST_FLOW_ERROR;
goto done;
}