diff cfg-mplayer.h @ 32438:faefba58f413

Implement a basic capture feature, available through -capture. If a specified key is pressed during playback, the current stream is captured to a file, similar to what -dumpstream achieves. patch by P«”sztor Szil«”rd, don tricon hu
author diego
date Thu, 21 Oct 2010 18:19:30 +0000
parents ed12c6f6abd8
children 1a605463f62b
line wrap: on
line diff
--- a/cfg-mplayer.h	Thu Oct 21 17:35:56 2010 +0000
+++ b/cfg-mplayer.h	Thu Oct 21 18:19:30 2010 +0000
@@ -292,6 +292,8 @@
     {"dumpjacosub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 8, NULL},
     {"dumpsami", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 9, NULL},
 
+    {"capture", &capture_dump, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+
 #ifdef CONFIG_LIRC
     {"lircconf", &lirc_configfile, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
 #endif