mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
Fix dipose, removed g_print
Original commit message from CVS: Fix dipose, removed g_print
This commit is contained in:
parent
dd34f1fefa
commit
ca19435d7a
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue