[vlc-devel] commit: logo: Fix a misuse of a filter_NewBlend, that should make this plugin non working. (Pierre d'Herbemont )

git version control git at videolan.org
Fri Aug 21 02:19:01 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Fri Aug 21 02:12:16 2009 +0200| [2ec4784766a150832eed14632ca54fdaa09c3d3f] | committer: Pierre d'Herbemont 

logo: Fix a misuse of a filter_NewBlend, that should make this plugin non working.

Spotted by a warning.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2ec4784766a150832eed14632ca54fdaa09c3d3f
---

 modules/video_filter/logo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_filter/logo.c b/modules/video_filter/logo.c
index ef7f067..5c34d53 100644
--- a/modules/video_filter/logo.c
+++ b/modules/video_filter/logo.c
@@ -243,7 +243,7 @@ static int OpenCommon( vlc_object_t *p_this, bool b_sub )
     {
 
         p_sys->p_blend = filter_NewBlend( VLC_OBJECT(p_filter),
-                                          &p_filter->fmt_in );
+                                          &p_filter->fmt_in.video );
         if( !p_sys->p_blend )
         {
             free( p_sys );




More information about the vlc-devel mailing list