mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
avvidenc: Fix error propagation
Instead of returning the default return value (GST_FLOW_OK), actually return an error one (res vs ret).
This commit is contained in:
parent
9e56619b10
commit
5a9f3d4bf1
1 changed files with 1 additions and 1 deletions
|
@ -654,7 +654,7 @@ gst_ffmpegvidenc_receive_packet (GstFFMpegVidEnc * ffmpegenc,
|
|||
ret = GST_FLOW_EOS;
|
||||
goto done;
|
||||
} else if (res < 0) {
|
||||
res = GST_FLOW_ERROR;
|
||||
ret = GST_FLOW_ERROR;
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue