summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEduard Hasenleithner <ehasenle@users.sourceforge.net>2001-07-25 15:03:14 +0000
committerEduard Hasenleithner <ehasenle@users.sourceforge.net>2001-07-25 15:03:14 +0000
commit1a8845d5b0190c82c32340433a6dd7f9d1d9660c (patch)
tree04a74d803bb7219860e38b8ad0af0f5c0bcb4a92 /src
parentc49e674360bd3230d2679695c0cadec1a9dc9fd0 (diff)
downloadxine-lib-1a8845d5b0190c82c32340433a6dd7f9d1d9660c.tar.gz
xine-lib-1a8845d5b0190c82c32340433a6dd7f9d1d9660c.tar.bz2
Removed the --with-dxr3-path argument and added --disable-dxr3.
Did some cosmetic stuff too. CVS patchset: 347 CVS date: 2001/07/25 15:03:14
Diffstat (limited to 'src')
-rw-r--r--src/dxr3/Makefile.am4
-rw-r--r--src/dxr3/dxr3_decoder.c25
-rw-r--r--src/dxr3/video_out_dxr3.c10
3 files changed, 17 insertions, 22 deletions
diff --git a/src/dxr3/Makefile.am b/src/dxr3/Makefile.am
index 906eb1c96..fb8a755e5 100644
--- a/src/dxr3/Makefile.am
+++ b/src/dxr3/Makefile.am
@@ -1,4 +1,4 @@
-CFLAGS = @GLOBAL_CFLAGS@ $(EM8300_INCLUDE_PATH) $(LINUX_INCLUDE)
+CFLAGS = @GLOBAL_CFLAGS@ $(LINUX_INCLUDE)
EXTRA_DIST = dxr3_decoder.c video_out_dxr3.c
@@ -19,7 +19,7 @@ xineplug_vo_out_dxr3_la_SOURCES = video_out_dxr3.c
xineplug_vo_out_dxr3_la_LDFLAGS = -avoid-version -module
debug:
- @$(MAKE) CFLAGS="$(DEBUG_CFLAGS) $(EM8300_INCLUDE_PATH) $(LINUX_INCLUDE)"
+ @$(MAKE) CFLAGS="$(DEBUG_CFLAGS) $(LINUX_INCLUDE)"
install-debug: debug
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
diff --git a/src/dxr3/dxr3_decoder.c b/src/dxr3/dxr3_decoder.c
index 197c813c1..cbdfe65ad 100644
--- a/src/dxr3/dxr3_decoder.c
+++ b/src/dxr3/dxr3_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: dxr3_decoder.c,v 1.2 2001/07/24 15:02:05 f1rmb Exp $
+ * $Id: dxr3_decoder.c,v 1.3 2001/07/25 15:03:15 ehasenle Exp $
*
* dxr3 video and spu decoder plugin. Accepts the video and spu data
* from XINE and sends it directly to the corresponding dxr3 devices.
@@ -26,22 +26,21 @@
*/
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <sys/ioctl.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-
-#include <buffer.h>
-#include <xine_internal.h>
-#include <linux/soundcard.h>
-#include <em8300.h>
-
-#include <stdio.h>
-#include <errno.h>
-#include <stdint.h>
#include <unistd.h>
#include <fcntl.h>
-#include <sys/types.h>
-#include <sys/ioctl.h>
-#include <inttypes.h>
+#include <errno.h>
+
+#include <linux/soundcard.h>
+#include <linux/em8300.h>
+#include "video_out.h"
+#include "xine_internal.h"
+#include "buffer.h"
char devname[]="/dev/em8300";
diff --git a/src/dxr3/video_out_dxr3.c b/src/dxr3/video_out_dxr3.c
index ac7bc7934..a1af4a4a7 100644
--- a/src/dxr3/video_out_dxr3.c
+++ b/src/dxr3/video_out_dxr3.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_dxr3.c,v 1.3 2001/07/24 15:02:05 f1rmb Exp $
+ * $Id: video_out_dxr3.c,v 1.4 2001/07/25 15:03:15 ehasenle Exp $
*
* Dummy video out plugin for the dxr3. Is responsible for setting
* tv_mode, bcs values and the aspectratio.
@@ -33,13 +33,9 @@
#include <fcntl.h>
#include <errno.h>
-#include <em8300.h>
+#include <linux/em8300.h>
#include "video_out.h"
-
-#include <pthread.h>
-
#include "xine_internal.h"
-#include "utils.h"
char devname[]="/dev/em8300";
@@ -91,7 +87,7 @@ static vo_frame_t *dxr3_alloc_frame (vo_driver_t *this_gen)
static void dxr3_update_frame_format (vo_driver_t *this_gen,
vo_frame_t *frame,
uint32_t width, uint32_t height,
- int ratio_code, int format)
+ int ratio_code, int format, int flags)
{
/* dxr3_driver_t *this = (dxr3_driver_t *) this_gen; */
fprintf(stderr, "dxr3_vo: dummy function update_frame_format called!\n");