Commit d4b87782 authored by Vincent Penquerc'h's avatar Vincent Penquerc'h

theoradec: fix video state leaks

parent fd35793c
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment