mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +00:00
fix ffmpeg to work with installd version as well
Original commit message from CVS: fix ffmpeg to work with installd version as well
This commit is contained in:
parent
ba9ed9b9e4
commit
ff9f7c32ca
9 changed files with 52 additions and 13 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 1ca7d9a20180cab830f4383cde5ba932338e50b1
|
||||
Subproject commit f2d9b99515c73da09bfe307d273d320f79a226da
|
|
@ -11,8 +11,8 @@ libgstffmpeg_la_SOURCES = gstffmpeg.c \
|
|||
gstffmpegprotocol.c \
|
||||
gstffmpegtypes.c
|
||||
|
||||
libgstffmpeg_la_CFLAGS = $(GST_CFLAGS) -I/opt/src/sourceforge/ffmpeg/ -I/opt/src/sourceforge/ffmpeg/libavcodec/
|
||||
libgstffmpeg_la_CFLAGS = $(GST_CFLAGS) $(FFMPEG_CFLAGS)
|
||||
libgstffmpeg_la_LIBADD =
|
||||
libgstffmpeg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -L/opt/src/sourceforge/ffmpeg/libavcodec -lavcodec -L/opt/src/sourceforge/ffmpeg/libav -lavformat
|
||||
libgstffmpeg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(FFMPEG_LIBS)
|
||||
|
||||
noinst_HEADERS =
|
||||
|
|
|
@ -21,8 +21,14 @@
|
|||
* object definition and other useful things.
|
||||
*/
|
||||
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libav/avformat.h>
|
||||
#include "config.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>
|
||||
|
||||
|
|
|
@ -17,7 +17,13 @@
|
|||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include "config.h"
|
||||
#ifdef HAVE_FFMPEG_UNINSTALLED
|
||||
#include <avcodec.h>
|
||||
#else
|
||||
#include <ffmpeg/avcodec.h>
|
||||
#endif
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
||||
GstCaps *
|
||||
|
|
|
@ -19,7 +19,12 @@
|
|||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include "config.h"
|
||||
#ifdef HAVE_FFMPEG_UNINSTALLED
|
||||
#include <avcodec.h>
|
||||
#else
|
||||
#include <ffmpeg/avcodec.h>
|
||||
#endif
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
||||
|
|
|
@ -18,8 +18,14 @@
|
|||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <libav/avformat.h>
|
||||
#include <libav/avi.h>
|
||||
#include "config.h"
|
||||
#ifdef HAVE_FFMPEG_UNINSTALLED
|
||||
#include <avformat.h>
|
||||
#include <avi.h>
|
||||
#else
|
||||
#include <ffmpeg/avformat.h>
|
||||
#include <ffmpeg/avi.h>
|
||||
#endif
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
||||
|
|
|
@ -19,7 +19,12 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include "config.h"
|
||||
#ifdef HAVE_FFMPEG_UNINSTALLED
|
||||
#include <avcodec.h>
|
||||
#else
|
||||
#include <ffmpeg/avcodec.h>
|
||||
#endif
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
||||
|
|
|
@ -18,10 +18,15 @@
|
|||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <libav/avformat.h>
|
||||
#include "config.h"
|
||||
#ifdef HAVE_FFMPEG_UNINSTALLED
|
||||
#include <avformat.h>
|
||||
#else
|
||||
#include <ffmpeg/avformat.h>
|
||||
#endif
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
||||
|
||||
typedef struct _GstFFMpegMux GstFFMpegMux;
|
||||
|
||||
struct _GstFFMpegMux {
|
||||
|
|
|
@ -19,7 +19,13 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <libav/avformat.h>
|
||||
#include "config.h"
|
||||
#ifdef HAVE_FFMPEG_UNINSTALLED
|
||||
#include <avformat.h>
|
||||
#else
|
||||
#include <ffmpeg/avformat.h>
|
||||
#endif
|
||||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/bytestream/bytestream.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue