diff options
author | phintuka <phintuka> | 2006-09-20 07:01:10 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2006-09-20 07:01:10 +0000 |
commit | 76fbb79a4e36a3cbefba97b6953fe90229b0b6a2 (patch) | |
tree | 644ebf370e4ee9b016d7c8966c5cb7e58f9ca1c6 | |
parent | b35a18d072f05b8c595f80fbb169b00a356c5023 (diff) | |
download | xineliboutput-76fbb79a4e36a3cbefba97b6953fe90229b0b6a2.tar.gz xineliboutput-76fbb79a4e36a3cbefba97b6953fe90229b0b6a2.tar.bz2 |
separate device from option video_drv:video_dev
-rw-r--r-- | xine_frontend_main.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/xine_frontend_main.c b/xine_frontend_main.c index 4b1670ae..799b11d3 100644 --- a/xine_frontend_main.c +++ b/xine_frontend_main.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_frontend_main.c,v 1.14 2006-09-19 00:56:13 phintuka Exp $ + * $Id: xine_frontend_main.c,v 1.15 2006-09-20 07:01:10 phintuka Exp $ * */ @@ -275,6 +275,12 @@ int main(int argc, char *argv[]) printf("Audio device: %s\n",adev); break; case 'V': gdrv = strdup(optarg); + if(strchr(gdrv, ':')) { + video_port = strchr(gdrv, ':'); + *video_port = 0; + video_port++; + printf("Video port: %s\n",video_port); + } printf("Video driver: %s\n",gdrv); break; case 'd': video_port = strdup(optarg); |