summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-09-15 01:10:59 +0200
committerwm4 <wm4@nowhere>2012-10-12 10:10:30 +0200
commit4e2fab5846d2fe7f51a799abb4118515efac854b (patch)
treefd32851eecd1f89580620d4f1ecb242ab3bb7c28 /TOOLS
parentcd25a671b58a94fbfa1942103137ad6617170a32 (diff)
downloadmpv-4e2fab5846d2fe7f51a799abb4118515efac854b.tar.bz2
mpv-4e2fab5846d2fe7f51a799abb4118515efac854b.tar.xz
commands: rename properties, update input.conf
Use "-" instead of "_" in property names. The intent is that property names and options names should be the same (if they refer to the same thing), and options use "-" as word separator. Rename some other properties too, e.g. "switch_audio" -> "audio". Add a way to translate the old property names to the new ones, similar to the input command legacy bridge. Update input.conf. Use the new property names, and don't use legacy commands.
Diffstat (limited to 'TOOLS')
-rwxr-xr-xTOOLS/mplayer2_identify.sh24
1 files changed, 12 insertions, 12 deletions
diff --git a/TOOLS/mplayer2_identify.sh b/TOOLS/mplayer2_identify.sh
index 04902124ab..32f9fc279f 100755
--- a/TOOLS/mplayer2_identify.sh
+++ b/TOOLS/mplayer2_identify.sh
@@ -59,30 +59,30 @@ fi
__midentify__allprops="
filename
path
- stream_start
- stream_end
- stream_length
+ stream-start
+ stream-end
+ stream-length
demuxer
- switch_program
+ program
length
chapters
editions
titles
- switch_audio
- audio_bitrate
- audio_codec
- audio_format
+ audio
+ audio-bitrate
+ audio-codec
+ audio-format
channels
samplerate
- switch_video
+ video
angle
- video_bitrate
- video_codec
- video_format
+ video-bitrate
+ video-codec
+ video-format
aspect
fps
width