mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-08-02 19:55:08 +00:00
parent
87dbd558cc
commit
d6784c238b
|
@ -519,6 +519,7 @@ _gst_libde265_image_available (GstVideoDecoder * decoder, int width, int height)
|
||||||
}
|
}
|
||||||
if (!gst_video_decoder_negotiate (decoder)) {
|
if (!gst_video_decoder_negotiate (decoder)) {
|
||||||
GST_ERROR_OBJECT (dec, "Failed to negotiate format");
|
GST_ERROR_OBJECT (dec, "Failed to negotiate format");
|
||||||
|
gst_video_codec_state_unref (state);
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_ERROR;
|
||||||
}
|
}
|
||||||
if (dec->output_state != NULL) {
|
if (dec->output_state != NULL) {
|
||||||
|
|
Loading…
Reference in a new issue