annotate TOOLS/midentify @ 9009:f2d4324561b2

1) Removed the code to remove {} from sub_read_line_ssa 2) Put this code in a separated function: sub_pp_ssa 3) After recoding added a call to sub_pp_ssa. To be more acqurate: I added a pointer to function to hold a postprocessing function to be invoked after using iconv. There are one pointer for each format, if this pointer isn.t NULL the post processing function is called. patch by Salvador Eduardo Tropea <salvador@inti.gov.ar> help by <hephooey@fastmail.fm>
author arpi
date Sun, 19 Jan 2003 00:54:55 +0000
parents d151608b9f28
children 6cf694df50b3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7865
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
1 #!/bin/sh
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
2 mplayer -identify "$@" 2>/dev/null |
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
3 grep "^ID" |
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
4 sed -e 's/[`\\!$"]/\\&/g' |
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
5 sed -e '/^ID_FILENAME/ { s/^ID_FILENAME=\(.*\)/ID_FILENAME="\1"/g; }'