mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 21:01:14 +00:00
ada045509e
Original commit message from CVS: * ext/ffmpeg/gstffmpeg.h: * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps), (gst_ffmpeg_caps_to_pixfmt), (gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname), (gst_ffmpeg_img_convert): * ext/ffmpeg/gstffmpegcodecmap.h: * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_negotiate), (gst_ffmpegdec_frame), (gst_ffmpegdec_chain), (gst_ffmpegdec_register): * ext/ffmpeg/gstffmpegdeinterlace.c: (gst_ffmpegdeinterlace_getcaps), (gst_ffmpegdeinterlace_pad_link): * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event), (gst_ffmpegdemux_src_format_list), (gst_ffmpegdemux_src_query), (gst_ffmpegdemux_src_convert), (gst_ffmpegdemux_add), (gst_ffmpegdemux_register): * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps), (gst_ffmpegenc_link), (gst_ffmpegenc_chain_video), (gst_ffmpegenc_chain_audio): * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_request_new_pad), (gst_ffmpegmux_connect), (gst_ffmpegmux_loop), (gst_ffmpegmux_register): * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_write): * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_pad_link): * ext/libpostproc/gstpostproc.c: (gst_postproc_chain): Update to ffmpeg snapshot of Jul 20 2005 4:00 PM GMT. Mostly some added codecs, some API changes, etc. Also adds a VOB muxer for MPEG-2 video and adds h264 to .mp4 muxing.
58 lines
1.9 KiB
C
58 lines
1.9 KiB
C
/* GStreamer
|
|
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
/* First, include the header file for the plugin, to bring in the
|
|
* object definition and other useful things.
|
|
*/
|
|
|
|
#ifndef __GST_FFMPEG_H__
|
|
#define __GST_FFMPEG_H
|
|
|
|
#ifdef HAVE_FFMPEG_UNINSTALLED
|
|
#include <avcodec.h>
|
|
#include <avformat.h>
|
|
#else
|
|
#include <ffmpeg/avcodec.h>
|
|
#include <ffmpeg/avformat.h>
|
|
#endif
|
|
|
|
#include <gst/gst.h>
|
|
|
|
GST_DEBUG_CATEGORY_EXTERN (ffmpeg_debug);
|
|
#define GST_CAT_DEFAULT ffmpeg_debug
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
extern gboolean gst_ffmpegdemux_register (GstPlugin * plugin);
|
|
extern gboolean gst_ffmpegdec_register (GstPlugin * plugin);
|
|
extern gboolean gst_ffmpegenc_register (GstPlugin * plugin);
|
|
extern gboolean gst_ffmpegmux_register (GstPlugin * plugin);
|
|
extern gboolean gst_ffmpegcsp_register (GstPlugin * plugin);
|
|
extern gboolean gst_ffmpegscale_register (GstPlugin * plugin);
|
|
extern gboolean gst_ffmpegdeinterlace_register (GstPlugin * plugin);
|
|
|
|
G_END_DECLS
|
|
|
|
extern URLProtocol gstreamer_protocol;
|
|
|
|
/* use GST_FFMPEG URL_STREAMHEADER with URL_WRONLY if the first
|
|
* buffer should be used as streamheader property on the pad's caps. */
|
|
#define GST_FFMPEG_URL_STREAMHEADER 16
|
|
|
|
#endif /* __GST_FFMPEG_H__ */
|