[Mplayer-cvslog] CVS: main/libmpdemux tv.c,1.27,1.28
Alex Beregszaszi
alex at mplayerhq.hu
Thu May 23 16:53:14 CEST 2002
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv18685
Modified Files:
tv.c
Log Message:
applied 64bit patch from Ulrich Hecht <uli at suse dot de>
Index: tv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/tv.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- tv.c 1 May 2002 17:07:50 -0000 1.27
+++ tv.c 23 May 2002 14:53:11 -0000 1.28
@@ -328,7 +328,8 @@
case AFMT_MPEG:
case AFMT_AC3:
default:
- mp_msg(MSGT_TV, MSGL_ERR, "Audio type '%s' unsupported!\n", audio_out_format_name(audio_format));
+ mp_msg(MSGT_TV, MSGL_ERR, "Audio type '%s (%x)' unsupported!\n",
+ audio_out_format_name(audio_format), audio_format);
goto no_audio;
}
@@ -371,17 +372,21 @@
}
/* ================== STREAM_TV ===================== */
+tvi_handle_t *tvi_init_dummy(char *device);
+tvi_handle_t *tvi_init_v4l(char *device);
+tvi_handle_t *tvi_init_bsdbt848(char *device);
+
tvi_handle_t *tv_begin(void)
{
if (!strcmp(tv_param_driver, "dummy"))
- return (tvi_handle_t *)tvi_init_dummy(tv_param_device);
+ return tvi_init_dummy(tv_param_device);
#ifdef HAVE_TV_V4L
if (!strcmp(tv_param_driver, "v4l"))
- return (tvi_handle_t *)tvi_init_v4l(tv_param_device);
+ return tvi_init_v4l(tv_param_device);
#endif
#ifdef HAVE_TV_BSDBT848
if (!strcmp(tv_param_driver, "bsdbt848"))
- return (tvi_handle_t *)tvi_init_bsdbt848(tv_param_device);
+ return tvi_init_bsdbt848(tv_param_device);
#endif
mp_msg(MSGT_TV, MSGL_ERR, "No such driver: %s\n", tv_param_driver);
More information about the MPlayer-cvslog
mailing list