Skip to content
Snippets Groups Projects
Commit d4b87782 authored by Vincent Penquerc'h's avatar Vincent Penquerc'h
Browse files

theoradec: fix video state leaks

parent fd35793c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment