mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
basevideodecoder: Don't use GST_FLOW_IS_SUCCESS()
This commit is contained in:
parent
f2affc667f
commit
5816dbce6f
1 changed files with 1 additions and 1 deletions
|
@ -1353,7 +1353,7 @@ gst_base_video_decoder_have_frame_2 (GstBaseVideoDecoder * base_video_decoder)
|
||||||
|
|
||||||
/* do something with frame */
|
/* do something with frame */
|
||||||
ret = base_video_decoder_class->handle_frame (base_video_decoder, frame);
|
ret = base_video_decoder_class->handle_frame (base_video_decoder, frame);
|
||||||
if (!GST_FLOW_IS_SUCCESS (ret)) {
|
if (ret != GST_FLOW_OK) {
|
||||||
GST_DEBUG ("flow error!");
|
GST_DEBUG ("flow error!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue