mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
907d7e40f5
Original commit message from CVS: * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_install_property), (gst_ffmpeg_cfg_finalize): * ext/ffmpeg/gstffmpegcfg.h: * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_finalize), (ffmpegenc_setup_working_buf), (gst_ffmpegenc_chain_video), (gst_ffmpegenc_flush_buffers): Free strings atleast when finalizing elements. * tests/check/generic/libavcodec-locking.c: (GST_START_TEST), (simple_launch_lines_suite): Fix some leaks.
43 lines
1.4 KiB
C
43 lines
1.4 KiB
C
/* GStreamer
|
|
* Copyright (C) <2006> Mark Nauwelaerts <manauw@skynet.be>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Library General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Library General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
|
|
#ifndef __GST_FFMPEGCFG_H__
|
|
#define __GST_FFMPEGCFG_H__
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gst_ffmpeg_cfg_init ();
|
|
|
|
void gst_ffmpeg_cfg_install_property (GstFFMpegEncClass * klass, guint base);
|
|
|
|
gboolean gst_ffmpeg_cfg_set_property (GObject * object,
|
|
const GValue * value, GParamSpec * pspec);
|
|
|
|
gboolean gst_ffmpeg_cfg_get_property (GObject * object,
|
|
GValue * value, GParamSpec * pspec);
|
|
|
|
void gst_ffmpeg_cfg_fill_context (GstFFMpegEnc * ffmpegenc, AVCodecContext * context);
|
|
void gst_ffmpeg_cfg_set_defaults (GstFFMpegEnc * ffmpegenc);
|
|
void gst_ffmpeg_cfg_finalize (GstFFMpegEnc * ffmpegenc);
|
|
|
|
G_END_DECLS
|
|
|
|
|
|
#endif /* __GST_FFMPEGCFG_H__ */
|