diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-01-20 10:08:50 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-01-20 10:12:50 +0200 |
commit | f2ed4091309889533fb8f04e54216afed5ded68e (patch) | |
tree | 6eacab9dc0198a2cb30c6e76d573f5ffde623d03 | |
parent | f96c72d1106f9fbd0c794884f35f2bc22c4567d4 (diff) | |
download | gstreamer-plugins-good-f2ed4091309889533fb8f04e54216afed5ded68e.tar.gz |
vp9enc: Return FLOW_ERROR when an error accures
FALSE would mean FLOW_OK
https://bugzilla.gnome.org/show_bug.cgi?id=760666
-rw-r--r-- | ext/vpx/gstvp9enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/vpx/gstvp9enc.c b/ext/vpx/gstvp9enc.c index e8e347f3f..d8ae81ca1 100644 --- a/ext/vpx/gstvp9enc.c +++ b/ext/vpx/gstvp9enc.c @@ -1988,7 +1988,7 @@ gst_vp9_enc_handle_frame (GstVideoEncoder * video_encoder, if (status != 0) { GST_ELEMENT_ERROR (encoder, LIBRARY, ENCODE, ("Failed to encode frame"), ("%s", gst_vpx_error_name (status))); - return FALSE; + return GST_FLOW_ERROR; } gst_video_codec_frame_unref (frame); return gst_vp9_enc_process (encoder); |