rpms/vlc/F-9 vlc-0.9.9-0.9.10git20090409.patch, NONE, 1.1 vlc.spec, 1.15, 1.16

NicolasChauvet kwizart at rpmfusion.org
Thu Apr 9 17:44:19 CEST 2009


Author: kwizart

Update of /cvs/free/rpms/vlc/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv7332

Modified Files:
	vlc.spec 
Added Files:
	vlc-0.9.9-0.9.10git20090409.patch 
Log Message:
Add vlc-0.9.9-0.9.10git20090409.patch


vlc-0.9.9-0.9.10git20090409.patch:

--- NEW FILE vlc-0.9.9-0.9.10git20090409.patch ---
diff --git a/modules/access/http.c b/modules/access/http.c
index 66e32ff..c465fa4 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -452,7 +452,13 @@ connect:
         if( i_ret == DIALOG_OK_YES )
         {
             msg_Dbg( p_access, "retrying with user=%s, pwd=%s",
-                        psz_login, psz_password );
+                     psz_login,
+#if 1
+                     "yeah right, like we're going to print a password."
+#else
+                     psz_password
+#endif
+                        );
             if( psz_login ) p_sys->url.psz_username = strdup( psz_login );
             if( psz_password ) p_sys->url.psz_password = strdup( psz_password );
             free( psz_login );
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 3fa837e..0e90b9f 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -301,6 +301,8 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
         p_sys->p_context->pix_fmt != PIX_FMT_YUV422P &&
         /* H264 uses too many reference frames */
         p_sys->i_codec_id != CODEC_ID_H264 &&
+        /* No idea why ... but this fixes flickering on some TSCC streams */
+        p_sys->i_codec_id != CODEC_ID_TSCC &&
         !p_sys->p_context->debug_mv )
     {
         /* Some codecs set pix_fmt only after the 1st frame has been decoded,
diff --git a/modules/codec/x264.c b/modules/codec/x264.c
index 68508c9..04fce89 100644
--- a/modules/codec/x264.c
+++ b/modules/codec/x264.c
@@ -75,7 +75,7 @@ static void Close( vlc_object_t * );
     "I-frames are inserted only every other keyint frames, which probably " \
     "leads to ugly encoding artifacts. Range 1 to 100." )
 
-#if X264_BUILD >= 55 /* r607 */
+#if X264_BUILD >= 55 /* r607 */ && X264_BUILD < 67 /* r1117 */
 #define PRESCENE_TEXT N_("Faster, less precise scenecut detection" )
 #define PRESCENE_LONGTEXT N_( "Faster, less precise scenecut detection. " \
     "Required and implied by multi-threading." )
@@ -429,8 +429,12 @@ vlc_module_begin();
         change_integer_range( -1, 100 );
 
 #if X264_BUILD >= 55 /* r607 */
+#  if X264_BUILD < 67 /* r1117 */
     add_bool( SOUT_CFG_PREFIX "pre-scenecut", 0, NULL, PRESCENE_TEXT,
               PRESCENE_LONGTEXT, false );
+#  else
+    add_obsolete_bool( "pre-scenecut" )
+#  endif
 #endif
 
     add_integer( SOUT_CFG_PREFIX "bframes", 0, NULL, BFRAMES_TEXT,
@@ -957,9 +961,12 @@ static int  Open ( vlc_object_t *p_this )
         p_sys->param.i_scenecut_threshold = val.i_int;
 #endif
 
-#if X264_BUILD >= 55 /* r607 */
+#if X264_BUILD >= 55 /* r607 */ && X264_BUILD < 67 /* r1117 */
     var_Get( p_enc, SOUT_CFG_PREFIX "pre-scenecut", &val );
     p_sys->param.b_pre_scenecut = val.b_bool;
+#endif
+
+#if X264_BUILD >= 55 /* r607 */
     var_Get( p_enc, SOUT_CFG_PREFIX "non-deterministic", &val );
     p_sys->param.b_deterministic = val.b_bool;
 #endif


Index: vlc.spec
===================================================================
RCS file: /cvs/free/rpms/vlc/F-9/vlc.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- vlc.spec	3 Apr 2009 19:45:48 -0000	1.15
+++ vlc.spec	9 Apr 2009 15:44:18 -0000	1.16
@@ -20,7 +20,7 @@
 %else
 Version:	0.9.9
 %define _version %{version}
-%define release_tag   1
+%define release_tag   2
 %endif
 Release:	%{release_tag}%{?dist}
 License:	GPLv2+
@@ -41,6 +41,7 @@
 Patch4:         310_all_mmx_pic.patch
 Patch5:         vlc-pulse0071.patch
 Patch6:         vlc-0.9.9-fix_playlist.patch
+Patch7:         vlc-0.9.9-0.9.10git20090409.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	desktop-file-utils
@@ -277,6 +278,7 @@
 %patch4 -p1 -b .mmx_pic
 %patch5 -p1 -b .pulse0071
 %patch6 -p1 -b .pl
+%patch7 -p1 -b .git10
 
 chmod -x modules/gui/qt4/qt4*
 
@@ -551,6 +553,9 @@
 
 
 %changelog
+* Thu Apr  9 2009 kwizart < kwizart at gmail.com > - 0.9.9-2
+- Add Patch vlc-0.9.9-0.9.10git20090409.patch
+
 * Fri Apr  3 2009 kwizart < kwizart at gmail.com > - 0.9.9-1
 - Update to 0.9.9 final
 - backport playlist patch



More information about the rpmfusion-commits mailing list