diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 03:17:41 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 07:48:31 +0200 |
commit | 3cb3bbbddc1d09dab1471a3630f1a9aa4392ed50 (patch) | |
tree | 4989a29dbae266e0bb83bddca9fcdef1058c4a17 /options.h | |
parent | 2be10f22b24712b959fa2883a4dcfa7caf72ab79 (diff) | |
download | mpv-3cb3bbbddc1d09dab1471a3630f1a9aa4392ed50.tar.bz2 mpv-3cb3bbbddc1d09dab1471a3630f1a9aa4392ed50.tar.xz |
Add a simple capture feature (-capture)
If a specified key is pressed during playback, the current stream is
captured to a file, similar to what -dumpstream achieves.
original patch by Pásztor Szilárd, don tricon hu
Taken from the following svn commits, but with several fixes and
modifications (one obvious user-visible difference is that the default
key binding is 'C', not 'c'):
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32524 b3059339-0415-0410-9bf9-f77b7e298cf2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32529 b3059339-0415-0410-9bf9-f77b7e298cf2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32530 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -28,6 +28,7 @@ typedef struct MPOpts { int osd_level; int osd_duration; char *stream_dump_name; + int capture_dump; int loop_times; int ordered_chapters; int chapterrange[2]; |