mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
tv driver loading rework. As a side effect "-tv driver=help" option is
implemented. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22399 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -8,8 +8,10 @@
|
||||
#include "libmpcodecs/img_format.h"
|
||||
#include "tv.h"
|
||||
|
||||
static tvi_handle_t *tvi_init_dummy(char *device,char *adevice);
|
||||
/* information about this file */
|
||||
static tvi_info_t info = {
|
||||
tvi_info_t tvi_info_dummy = {
|
||||
tvi_init_dummy,
|
||||
"NULL-TV",
|
||||
"dummy",
|
||||
"alex",
|
||||
@@ -25,7 +27,7 @@ typedef struct {
|
||||
#include "tvi_def.h"
|
||||
|
||||
/* handler creator - entry point ! */
|
||||
tvi_handle_t *tvi_init_dummy(char *device)
|
||||
static tvi_handle_t *tvi_init_dummy(char *device,char *adevice)
|
||||
{
|
||||
return(new_handle());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user