[vlc-devel] commit: Fix vout_ReleaseWindow invocation ( Rémi Denis-Courmont )
git version control
git at videolan.org
Tue Jun 24 20:25:58 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Tue Jun 24 21:26:18 2008 +0300| [6798d2cfedbe767f052318955f80f857647d4817]
Fix vout_ReleaseWindow invocation
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6798d2cfedbe767f052318955f80f857647d4817
---
src/video_output/vout_intf.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c
index 22241cf..71b45ee 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -825,8 +825,7 @@ int vout_vaControlDefault( vout_thread_t *p_vout, int i_query, va_list args )
{
case VOUT_REPARENT:
case VOUT_CLOSE:
- if( p_vout->p_window )
- vout_ReleaseWindow( p_vout->p_window, NULL );
+ vout_ReleaseWindow( p_vout, NULL );
return VLC_SUCCESS;
case VOUT_SNAPSHOT:
More information about the vlc-devel
mailing list