Skip to content

Commit 3cab434

Browse files
committed
when doing png2tga conversion, remove the original png when done (saves temp space)
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpvideo@9407 d7cf8633-e32d-0410-b094-e92efae38249
1 parent 87f13a9 commit 3cab434

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

any2dpv.sh

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ eval "`midentify "$video"`"
4242
mplayer -benchmark -vf scale -vo png:z=1 -nosound "$video" "$@"
4343
for X in *.png; do
4444
pngtopnm "$X" | ppmtotga -rgb > `printf "video_%08d.tga" $((1${X%.png} - 100000001))`
45+
rm -f "$X"
4546
done
4647
mplayer -vc dummy -vo null -ao pcm "$video" "$@"
4748
dpvencoder video "$ID_VIDEO_FPS" "$compression"

0 commit comments

Comments
 (0)