mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
jpeg2000parse: do hard reset if gst_base_parse_finish_frame fails
This commit is contained in:
parent
a35157debf
commit
67cffd70ad
1 changed files with 1 additions and 1 deletions
|
@ -771,7 +771,7 @@ gst_jpeg2000_parse_handle_frame (GstBaseParse * parse,
|
|||
gst_caps_unref (current_caps);
|
||||
gst_buffer_unmap (frame->buffer, &map);
|
||||
ret = gst_base_parse_finish_frame (parse, frame, jpeg2000parse->frame_size);
|
||||
gst_jpeg2000_parse_reset (parse, FALSE);
|
||||
gst_jpeg2000_parse_reset (parse, (ret != GST_FLOW_OK));
|
||||
return ret;
|
||||
|
||||
beach:
|
||||
|
|
Loading…
Reference in a new issue