projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2706a35
)
vp8enc: Return FLOW_ERROR when an error accures
author
Thibault Saunier
<tsaunier@gnome.org>
Fri, 15 Jan 2016 11:36:35 +0000
(11:36 +0000)
committer
Thibault Saunier
<tsaunier@gnome.org>
Sat, 16 Jan 2016 07:58:48 +0000
(08:58 +0100)
FALSE would mean FLOW_OK
https://bugzilla.gnome.org/show_bug.cgi?id=760666
ext/vpx/gstvpxenc.c
patch
|
blob
|
history
diff --git
a/ext/vpx/gstvpxenc.c
b/ext/vpx/gstvpxenc.c
index
e56b766
..
00fd3f2
100644
(file)
--- a/
ext/vpx/gstvpxenc.c
+++ b/
ext/vpx/gstvpxenc.c
@@
-1903,7
+1903,8
@@
gst_vpx_enc_handle_frame (GstVideoEncoder * video_encoder,
GST_ELEMENT_ERROR (encoder, LIBRARY, ENCODE,
("Failed to encode frame"), ("%s", gst_vpx_error_name (status)));
gst_video_codec_frame_set_user_data (frame, NULL, NULL);
- return FALSE;
+
+ return GST_FLOW_ERROR;
}
gst_video_codec_frame_unref (frame);
return gst_vpx_enc_process (encoder);