[vlc-devel] commit: Only try creating the filter chain once. (Antoine Cellerier )
git version control
git at videolan.org
Wed Jun 4 22:03:26 CEST 2008
vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Wed Jun 4 16:53:19 2008 +0200| [2e65b47b71e8458270d3988271200232536acbe5]
Only try creating the filter chain once.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2e65b47b71e8458270d3988271200232536acbe5
---
src/video_output/video_output.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index ac2e2d9..f3961a4 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -966,11 +966,8 @@ static void RunThread( vout_thread_t *p_vout)
p_vout->psz_vf2 ) < 0 )
msg_Err( p_vout, "Video filter chain creation failed" );
- else
- {
- free( p_vout->psz_vf2 );
- p_vout->psz_vf2 = NULL;
- }
+ free( p_vout->psz_vf2 );
+ p_vout->psz_vf2 = NULL;
vlc_mutex_unlock( &p_vout->vfilter_lock );
}
More information about the vlc-devel
mailing list