Mercurial > mplayer.hg
view version.sh @ 9344:bd7b5078475e
1) codecs.conf changed recently and demux_gif no longer needs to spit
out BGR8 upside-down. the workaround for this is removed.
2) fixes a bug so that streaming gifs now works, and removes a
workaround no longer needed. now libgif uses mplayer's stream_read
function and thus http streaming, etc, works with demux_gif.
3) cosmetic clean-up because i no longer plan to support certain GIF
extensions that would be more difficult to implement.
patch by Joey Parrish <joey@nicewarrior.org>
author | arpi |
---|---|
date | Sat, 08 Feb 2003 15:49:03 +0000 |
parents | 93694559178c |
children | 3cb3620bab87 |
line wrap: on
line source
#!/bin/sh OS=`uname -s` case "$OS" in Linux) last_cvs_update=`date -r CVS/Entries +%y%m%d-%H:%M 2>/dev/null` ;; BSD/OS) LS=`ls -lT CVS/Entries` month=`echo $LS | awk -F" " '{print $6}'` day=`echo $LS | awk -F" " '{print $7}'` hms=`echo $LS | awk -F" " '{print $8}'` hour=`echo $hms | awk -F":" '{print $1}'` minute=`echo $hms | awk -F":" '{print $2}'` year=`echo $LS | awk -F" " '{print $9}'` last_cvs_update="${year}${month}${day}-${hour}:${minute}" ;; Darwin) # darwin's date has different meaning for -r last_cvs_update=`date +%y%m%d-%H:%M` ;; *) last_cvs_update=`date +%y%m%d-%H:%M` ;; esac extra="" if test "$1" ; then extra="-$1" fi echo "#define VERSION \"CVS-${last_cvs_update}${extra} \"" >version.h