mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
codecs: h264: Fix wrong type of ret variable
This ret is not a GstFlowReturn. This broke v4l2 decoder which does not implement new_picture() virtual function. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1154>
This commit is contained in:
parent
b3710aa68d
commit
da464bde5f
1 changed files with 1 additions and 1 deletions
|
@ -1278,7 +1278,7 @@ gst_h264_decoder_parse_slice (GstH264Decoder * self, GstH264NalUnit * nalu)
|
|||
GstH264DecoderClass *klass = GST_H264_DECODER_GET_CLASS (self);
|
||||
GstH264Picture *picture = NULL;
|
||||
GstH264Picture *first_field = NULL;
|
||||
gboolean ret = TRUE;
|
||||
GstFlowReturn ret = GST_FLOW_OK;
|
||||
|
||||
g_assert (priv->current_frame);
|
||||
|
||||
|
|
Loading…
Reference in a new issue