mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
theoradec: fix video state leaks
This commit is contained in:
parent
fd35793c38
commit
d4b8778299
1 changed files with 4 additions and 0 deletions
|
@ -243,6 +243,10 @@ theora_dec_stop (GstVideoDecoder * decoder)
|
|||
gst_tag_list_free (dec->tags);
|
||||
dec->tags = NULL;
|
||||
}
|
||||
if (dec->input_state)
|
||||
gst_video_codec_state_unref (dec->input_state);
|
||||
if (dec->output_state)
|
||||
gst_video_codec_state_unref (dec->output_state);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue