From d7d468a521949ab4dd392bb64d34cf0ea97eada6 Mon Sep 17 00:00:00 2001 From: Bob Igo Date: Thu, 16 Jul 2009 13:48:54 -0400 Subject: '-vo null' was causing some codecs to be mis-identified --- abs/core-testing/mplayer-wrapper/PKGBUILD | 2 +- abs/core-testing/mplayer-wrapper/mplayer-wrapper.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/abs/core-testing/mplayer-wrapper/PKGBUILD b/abs/core-testing/mplayer-wrapper/PKGBUILD index 2f33bbc..9c0934b 100644 --- a/abs/core-testing/mplayer-wrapper/PKGBUILD +++ b/abs/core-testing/mplayer-wrapper/PKGBUILD @@ -1,6 +1,6 @@ pkgname=mplayer-wrapper pkgver=1 -pkgrel=4 +pkgrel=5 pkgdesc="wrapper for mplayer and mplayer derivatives" arch=('i686' 'x86_64') diff --git a/abs/core-testing/mplayer-wrapper/mplayer-wrapper.pl b/abs/core-testing/mplayer-wrapper/mplayer-wrapper.pl index a664a99..86c40c6 100755 --- a/abs/core-testing/mplayer-wrapper/mplayer-wrapper.pl +++ b/abs/core-testing/mplayer-wrapper/mplayer-wrapper.pl @@ -99,7 +99,7 @@ sub dynamic_parameters () { my $codec=""; # figure out what codec the video uses - my $command="mplayer -identify -vo null -frames 0 \"$mediafile\" | grep ID_VIDEO_CODEC | cut -c 16- |"; + my $command="mplayer -identify -frames 0 \"$mediafile\" | grep ID_VIDEO_CODEC | cut -c 16- |"; open(SHELL, $command); while () { chop; -- cgit v0.12