diff options
author | wm4 <wm4@nowhere> | 2014-06-10 00:47:10 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-06-11 00:34:42 +0200 |
commit | fcf9bb95b5d95dc8b0f45b368074d0f67bd4e7d2 (patch) | |
tree | e3dd2cda235eae1422e9926857e7a2cd0cd77b9a /stream/tv.c | |
parent | 383cf207859485c4516d29053dafab0bb2d8c347 (diff) | |
download | mpv-fcf9bb95b5d95dc8b0f45b368074d0f67bd4e7d2.tar.bz2 mpv-fcf9bb95b5d95dc8b0f45b368074d0f67bd4e7d2.tar.xz |
tv: remove printing of useless comment information
Diffstat (limited to 'stream/tv.c')
-rw-r--r-- | stream/tv.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/stream/tv.c b/stream/tv.c index 1e71c08742..c9791a2b50 100644 --- a/stream/tv.c +++ b/stream/tv.c @@ -724,10 +724,7 @@ static tvi_handle_t *tv_begin(tv_param_t* tv_param, struct mp_log *log) if(tv_param->driver && !strcmp(tv_param->driver,"help")){ mp_info(log, "Available drivers:\n"); for(i=0;tvi_driver_list[i];i++){ - mp_info(log, " %s\t%s",tvi_driver_list[i]->short_name,tvi_driver_list[i]->name); - if(tvi_driver_list[i]->comment) - mp_info(log, " (%s)",tvi_driver_list[i]->comment); - mp_info(log, "\n"); + mp_info(log, " %s\t%s\n",tvi_driver_list[i]->short_name,tvi_driver_list[i]->name); } return NULL; } @@ -743,10 +740,8 @@ static tvi_handle_t *tv_begin(tv_param_t* tv_param, struct mp_log *log) continue; h->tv_param=tv_param; - MP_INFO(h, "Selected driver: %s\n name: %s\n author: %s\n comment: %s\n", tvi_driver_list[i]->short_name, - tvi_driver_list[i]->name, - tvi_driver_list[i]->author, - tvi_driver_list[i]->comment?tvi_driver_list[i]->comment:""); + MP_INFO(h, "Selected driver: %s\n name: %s\n", tvi_driver_list[i]->short_name, + tvi_driver_list[i]->name); talloc_free(tv_param->driver); tv_param->driver=talloc_strdup(NULL, tvi_driver_list[i]->short_name); return h; |