basevideodecoder: Don't use GST_FLOW_IS_SUCCESS()

This commit is contained in:
Sebastian Dröge 2010-08-27 18:32:46 +02:00
parent f2affc667f
commit 5816dbce6f

View file

@ -1353,7 +1353,7 @@ gst_base_video_decoder_have_frame_2 (GstBaseVideoDecoder * base_video_decoder)
/* do something with 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!");
}