Commit 17bc2d6e authored by Gildas Bazin's avatar Gildas Bazin

* src/video_output/video_output.c: oops, fixed a bug I just introduced.
parent cdef0915
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* thread, and destroy a previously oppened video output thread. * thread, and destroy a previously oppened video output thread.
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2001 VideoLAN * Copyright (C) 2000-2001 VideoLAN
* $Id: video_output.c,v 1.208 2003/01/28 12:30:44 gbazin Exp $ * $Id: video_output.c,v 1.209 2003/01/28 13:07:45 gbazin Exp $
* *
* Authors: Vincent Seguin <seguin@via.ecp.fr> * Authors: Vincent Seguin <seguin@via.ecp.fr>
* *
...@@ -134,6 +134,7 @@ vout_thread_t * __vout_Request ( vlc_object_t *p_this, vout_thread_t *p_vout, ...@@ -134,6 +134,7 @@ vout_thread_t * __vout_Request ( vlc_object_t *p_this, vout_thread_t *p_vout,
p_vout->b_filter_change = VLC_FALSE; p_vout->b_filter_change = VLC_FALSE;
} }
if( psz_filter_chain ) free( psz_filter_chain );
} }
if( ( p_vout->render.i_width != i_width ) || if( ( p_vout->render.i_width != i_width ) ||
...@@ -155,8 +156,6 @@ vout_thread_t * __vout_Request ( vlc_object_t *p_this, vout_thread_t *p_vout, ...@@ -155,8 +156,6 @@ vout_thread_t * __vout_Request ( vlc_object_t *p_this, vout_thread_t *p_vout,
vlc_object_attach( p_vout, p_this ); vlc_object_attach( p_vout, p_this );
vlc_object_release( p_vout ); vlc_object_release( p_vout );
} }
if( psz_filter_chain ) free( psz_filter_chain );
} }
if( !p_vout ) if( !p_vout )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment