[vlc-devel] commit: Revert "Typo in pl_Release();" ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Jun 19 01:02:28 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Jun 19 01:55:50 2008 +0300| [fc56db95650683b9af4471c1fbb2ac88787ba4d6]

Revert "Typo in pl_Release();"

This reverts commit 9bddd7d37362150b20961c45c0e508356251e4f9.

By its current design, pl_Release() takes the same argument as
pl_Yield(). This had _already_ been discussed earlier (vlc-devel is not
a write-only mailing list).

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

 src/video_output/vout_intf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c
index ab02bd8..2457bbd 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -1199,7 +1199,7 @@ static int OnTopCallback( vlc_object_t *p_this, char const *psz_cmd,
     var_Create( p_playlist, "video-on-top", VLC_VAR_BOOL );
     var_Set( p_playlist, "video-on-top", newval );
 
-    pl_Release( p_playlist );
+    pl_Release( p_this );
     return VLC_SUCCESS;
 }
 




More information about the vlc-devel mailing list