mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +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)
|
gst_ffmpegdecall_destroy (GObject *obj)
|
||||||
{
|
{
|
||||||
GstFFMpegDecAll *ffmpegdec = GST_FFMPEGDECALL(obj);
|
GstFFMpegDecAll *ffmpegdec = GST_FFMPEGDECALL(obj);
|
||||||
g_print ("ffmpeg: destroying codec\n");
|
|
||||||
if (ffmpegdec->opened) {
|
if (ffmpegdec->opened) {
|
||||||
avcodec_close(ffmpegdec->context);
|
avcodec_close(ffmpegdec->context);
|
||||||
ffmpegdec->opened = FALSE;
|
ffmpegdec->opened = FALSE;
|
||||||
}
|
}
|
||||||
av_free(ffmpegdec->context);
|
av_free(ffmpegdec->context);
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->dispose (obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstPadLinkReturn
|
static GstPadLinkReturn
|
||||||
|
|
Loading…
Reference in a new issue