x264enc: propagate flow return back to base class and upstream

https://bugzilla.gnome.org/show_bug.cgi?id=705425
This commit is contained in:
Tim-Philipp Müller 2013-08-21 12:31:23 +01:00
parent eb5adde7af
commit e0ae81ebac

View file

@ -1937,7 +1937,7 @@ gst_x264_enc_encode_frame (GstX264Enc * encoder, x264_picture_t * pic_in,
out:
if (frame) {
gst_x264_enc_dequeue_frame (encoder, frame);
gst_video_encoder_finish_frame (GST_VIDEO_ENCODER (encoder), frame);
ret = gst_video_encoder_finish_frame (GST_VIDEO_ENCODER (encoder), frame);
}
return ret;