[proaudio] [967] better errorhandling in xjadeo

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 967
Author:   evermind
Date:     2007-11-24 17:51:33 +0000 (Sat, 24 Nov 2007)

Log Message:
-----------
better errorhandling in xjadeo

Modified Paths:
--------------
    trunk/overlays/proaudio/media-video/xjadeo/Manifest
    trunk/overlays/proaudio/media-video/xjadeo/xjadeo-0.4.1.ebuild


Modified: trunk/overlays/proaudio/media-video/xjadeo/Manifest
===================================================================
--- trunk/overlays/proaudio/media-video/xjadeo/Manifest	2007-11-24 15:46:14 UTC (rev 966)
+++ trunk/overlays/proaudio/media-video/xjadeo/Manifest	2007-11-24 17:51:33 UTC (rev 967)
@@ -3,10 +3,10 @@
 RMD160 c0ae3b7ea5f5d453e74a7ca2dd02fbf56f5ebb70 files/xjadeo-0.4.1-use_sws_scale.patch 3230
 SHA256 fd9c2067ee1e3e542c05a578fdc231061c1d3f092e12763f3b3ca0e4e1a01e90 files/xjadeo-0.4.1-use_sws_scale.patch 3230
 DIST xjadeo-0.4.1.tar.gz 303342 RMD160 ac60bee6df532516bdd64a841c3778b18dfb055f SHA1 18e3728e51ddc6bd408aeda931251b2ea91a3a9f SHA256 f78c2b9cd7ddad4c550ad4c4b0b178fe2cbdb9c09393baaf0ad19d814a4f5736
-EBUILD xjadeo-0.4.1.ebuild 1871 RMD160 74bfc7791e71f0904bf94ecb0d708a149db131a1 SHA1 6a6abdba105d7befe8d918f079f20a566a25257c SHA256 7419fc888d8e374918686e4ed022d0910d7549352e744e399998849365050422
-MD5 6a5d53a07064ce9ce83d50c4d0f0b0f8 xjadeo-0.4.1.ebuild 1871
-RMD160 74bfc7791e71f0904bf94ecb0d708a149db131a1 xjadeo-0.4.1.ebuild 1871
-SHA256 7419fc888d8e374918686e4ed022d0910d7549352e744e399998849365050422 xjadeo-0.4.1.ebuild 1871
+EBUILD xjadeo-0.4.1.ebuild 2073 RMD160 027dfa8d5f8b0f582febfe92a13bfb758148ca9f SHA1 b02821c8d4f692f8210cb98490d65ff404efd822 SHA256 e586cdb841c252da0a49a973ff3419148ef1c13a84e36499dd2a390e1ffd8406
+MD5 cb56228039e65c04d7017e5028bc21b9 xjadeo-0.4.1.ebuild 2073
+RMD160 027dfa8d5f8b0f582febfe92a13bfb758148ca9f xjadeo-0.4.1.ebuild 2073
+SHA256 e586cdb841c252da0a49a973ff3419148ef1c13a84e36499dd2a390e1ffd8406 xjadeo-0.4.1.ebuild 2073
 MD5 3768aa403f7b86fb28a2ab4191f52e01 files/digest-xjadeo-0.4.1 238
 RMD160 2eef33c8f86c7ae72d61a03e6c2afaa57e4f6543 files/digest-xjadeo-0.4.1 238
 SHA256 7ea42eebd73858dfb6e9eeafa3a5f67e94172c84bf0c4c9f8db01ad8ffcde786 files/digest-xjadeo-0.4.1 238

Modified: trunk/overlays/proaudio/media-video/xjadeo/xjadeo-0.4.1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-video/xjadeo/xjadeo-0.4.1.ebuild	2007-11-24 15:46:14 UTC (rev 966)
+++ trunk/overlays/proaudio/media-video/xjadeo/xjadeo-0.4.1.ebuild	2007-11-24 17:51:33 UTC (rev 967)
@@ -34,7 +34,13 @@
 		append-flags -DHAVE_SWSCALE
 		export enable_sws_scale=true
 	else
-		einfo "ffmpeg: no sws_scale support trying old img_convert"
+		img_support="$(strings /usr/lib/libavcodec.so|grep -c img_import)"
+		if [ "$img_support" == "1" ];then
+			ewarn "ffmpeg: no sws_scale support trying old img_convert"
+		else
+			eerror "ffmpeg: BUG please report this messages and to the proaudio team"
+			die
+		fi
 	fi
 }
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/