[vlc-devel] commit: transcode: add/remove needed/unneeded headers ( Rafaël Carré )

git version control git at videolan.org
Tue Nov 24 16:15:45 CET 2009


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Tue Nov 24 16:15:28 2009 +0100| [dbfc0404e1117beb8ad545a9e038b8662e61dd52] | committer: Rafaël Carré 

transcode: add/remove needed/unneeded headers

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dbfc0404e1117beb8ad545a9e038b8662e61dd52
---

 modules/stream_out/transcode/osd.c       |    2 ++
 modules/stream_out/transcode/spu.c       |    1 +
 modules/stream_out/transcode/transcode.c |    9 ++-------
 modules/stream_out/transcode/transcode.h |    1 -
 modules/stream_out/transcode/video.c     |    1 +
 5 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/modules/stream_out/transcode/osd.c b/modules/stream_out/transcode/osd.c
index 22ffdbe..b9f39b4 100644
--- a/modules/stream_out/transcode/osd.c
+++ b/modules/stream_out/transcode/osd.c
@@ -30,6 +30,8 @@
 
 #include "transcode.h"
 
+#include <vlc_osd.h>
+
 /*
  *  * OSD menu
  *   */
diff --git a/modules/stream_out/transcode/spu.c b/modules/stream_out/transcode/spu.c
index 5a9c9e0..48820ea 100644
--- a/modules/stream_out/transcode/spu.c
+++ b/modules/stream_out/transcode/spu.c
@@ -31,6 +31,7 @@
 #include "transcode.h"
 
 #include <vlc_meta.h>
+#include <vlc_osd.h>
 #include <assert.h>
 
 static subpicture_t *spu_new_buffer( decoder_t *p_dec )
diff --git a/modules/stream_out/transcode/transcode.c b/modules/stream_out/transcode/transcode.c
index fb310f5..95d4f7f 100644
--- a/modules/stream_out/transcode/transcode.c
+++ b/modules/stream_out/transcode/transcode.c
@@ -33,13 +33,8 @@
 
 #include <vlc_common.h>
 #include <vlc_plugin.h>
-#include <vlc_input.h>
-#include <vlc_sout.h>
-#include <vlc_aout.h>
-#include <vlc_vout.h>
-#include <vlc_codec.h>
-#include <vlc_meta.h>
-#include <vlc_block.h>
+
+#include <vlc_osd.h>
 
 #include "transcode.h"
 
diff --git a/modules/stream_out/transcode/transcode.h b/modules/stream_out/transcode/transcode.h
index 13b068d..dd7b3bf 100644
--- a/modules/stream_out/transcode/transcode.h
+++ b/modules/stream_out/transcode/transcode.h
@@ -8,7 +8,6 @@
 #include <vlc_filter.h>
 #include <vlc_es.h>
 #include <vlc_codec.h>
-#include <vlc_osd.h>
 
 
 #define PICTURE_RING_SIZE 64
diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c
index 3232b0f..e372dd6 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -31,6 +31,7 @@
 #include "transcode.h"
 
 #include <vlc_meta.h>
+#include <vlc_osd.h>
 
 #define ENC_FRAMERATE (25 * 1000 + .5)
 #define ENC_FRAMERATE_BASE 1000




More information about the vlc-devel mailing list