Commit c4a4fd52 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

synchro: privatize inside libmpeg2 plugin

This set of "helpers" is only used by the libmpeg2 plugin, and was not
exposed to out-of-tree-plugins. There is apparently no point keeping it
inside the core.
parent 8f288cf1
......@@ -99,7 +99,8 @@ codec_LTLIBRARIES += $(LTLIBwma_fixed)
libcdg_plugin_la_SOURCES = codec/cdg.c
codec_LTLIBRARIES += libcdg_plugin.la
liblibmpeg2_plugin_la_SOURCES = codec/libmpeg2.c
liblibmpeg2_plugin_la_SOURCES = codec/libmpeg2.c \
codec/synchro.c codec/synchro.h
liblibmpeg2_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_libmpeg2)
liblibmpeg2_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
liblibmpeg2_plugin_la_LIBADD = $(LIBS_libmpeg2)
......
......@@ -43,12 +43,11 @@
#include <vlc_codec.h>
#include <vlc_block_helper.h>
#include <vlc_cpu.h>
#include "../codec/cc.h"
#include "cc.h"
#include "synchro.h"
#include <mpeg2.h>
#include <vlc_codec_synchro.h>
/*****************************************************************************
* decoder_sys_t : libmpeg2 decoder descriptor
*****************************************************************************/
......
......@@ -101,7 +101,7 @@
#include <vlc_common.h>
#include <vlc_input.h>
#include <vlc_codec.h>
#include <vlc_codec_synchro.h>
#include "synchro.h"
/*
* Local prototypes
......
......@@ -37,13 +37,13 @@
/*****************************************************************************
* Prototypes
*****************************************************************************/
VLC_API decoder_synchro_t * decoder_SynchroInit( decoder_t *, int ) VLC_USED;
VLC_API void decoder_SynchroRelease( decoder_synchro_t * );
VLC_API void decoder_SynchroReset( decoder_synchro_t * );
VLC_API bool decoder_SynchroChoose( decoder_synchro_t *, int, int, bool );
VLC_API void decoder_SynchroTrash( decoder_synchro_t * );
VLC_API void decoder_SynchroDecode( decoder_synchro_t * );
VLC_API void decoder_SynchroEnd( decoder_synchro_t *, int, bool );
VLC_API mtime_t decoder_SynchroDate( decoder_synchro_t * ) VLC_USED;
VLC_API void decoder_SynchroNewPicture( decoder_synchro_t *, int, int, mtime_t, mtime_t, bool );
decoder_synchro_t * decoder_SynchroInit( decoder_t *, int ) VLC_USED;
void decoder_SynchroRelease( decoder_synchro_t * );
void decoder_SynchroReset( decoder_synchro_t * );
bool decoder_SynchroChoose( decoder_synchro_t *, int, int, bool );
void decoder_SynchroTrash( decoder_synchro_t * );
void decoder_SynchroDecode( decoder_synchro_t * );
void decoder_SynchroEnd( decoder_synchro_t *, int, bool );
mtime_t decoder_SynchroDate( decoder_synchro_t * ) VLC_USED;
void decoder_SynchroNewPicture( decoder_synchro_t *, int, int, mtime_t, mtime_t, bool );
......@@ -8,7 +8,6 @@ include/vlc_block_helper.h
include/vlc_charset.h
include/vlc_codec.h
include/vlc_codecs.h
include/vlc_codec_synchro.h
include/vlc_common.h
include/vlc_config_cat.h
include/vlc_config.h
......@@ -81,7 +80,6 @@ src/input/clock.h
src/input/control.c
src/input/decoder.c
src/input/decoder.h
src/input/decoder_synchro.c
src/input/demux.c
src/input/demux.h
src/input/es_out.c
......
......@@ -107,7 +107,6 @@ pluginsinclude_HEADERS = \
nodist_pluginsinclude_HEADERS = ../include/vlc_about.h
noinst_HEADERS = \
../include/vlc_codec_synchro.h \
../include/vlc_codecs.h \
../include/vlc_extensions.h \
../include/vlc_fixups.h \
......@@ -231,7 +230,6 @@ libvlccore_la_SOURCES = \
input/clock.c \
input/control.c \
input/decoder.c \
input/decoder_synchro.c \
input/demux.c \
input/demux_chained.c \
input/es_out.c \
......
......@@ -82,15 +82,6 @@ decoder_GetDisplayRate
decoder_GetInputAttachments
decoder_NewAudioBuffer
decoder_NewSubpicture
decoder_SynchroChoose
decoder_SynchroDate
decoder_SynchroDecode
decoder_SynchroEnd
decoder_SynchroInit
decoder_SynchroNewPicture
decoder_SynchroRelease
decoder_SynchroReset
decoder_SynchroTrash
demux_Delete
demux_PacketizerDestroy
demux_PacketizerNew
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment