Fix dipose, removed g_print

Original commit message from CVS:
Fix dipose, removed g_print
This commit is contained in:
Wim Taymans 2003-01-18 15:59:18 +00:00
parent dd34f1fefa
commit ca19435d7a

View file

@ -264,12 +264,14 @@ static void
gst_ffmpegdecall_destroy (GObject *obj)
{
GstFFMpegDecAll *ffmpegdec = GST_FFMPEGDECALL(obj);
g_print ("ffmpeg: destroying codec\n");
if (ffmpegdec->opened) {
avcodec_close(ffmpegdec->context);
ffmpegdec->opened = FALSE;
}
av_free(ffmpegdec->context);
G_OBJECT_CLASS (parent_class)->dispose (obj);
}
static GstPadLinkReturn