[vlc-devel] commit: embedded snapshot: remove useless comment (Olivier Aubert )

git version control git at videolan.org
Mon Jan 26 19:38:25 CET 2009


vlc | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Mon Jan 26 19:38:17 2009 +0100| [310df0776314f7de41be231c8c2874509ef36aaf] | committer: Olivier Aubert 

embedded snapshot: remove useless comment

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

 src/control/mediacontrol_audio_video.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/src/control/mediacontrol_audio_video.c b/src/control/mediacontrol_audio_video.c
index 1766034..3e02263 100644
--- a/src/control/mediacontrol_audio_video.c
+++ b/src/control/mediacontrol_audio_video.c
@@ -86,18 +86,6 @@ mediacontrol_snapshot( mediacontrol_Instance *self,
         RAISE_NULL( mediacontrol_InternalException, "No video output" );
     }
 
-    /* TODO:
-   vlc_mutex_lock (&lock);
-   mutex_cleanup_push (&lock); // release the mutex in case of cancellation
-
-   while (!foobar)
-       vlc_cond_wait (&wait, &lock);
-
-   --- foobar is now true, do something about it here --
-
-   vlc_cleanup_run (); // release the mutex
-    */
-
     snprintf( path, 255, "object:%p", p_snapshot );
     var_SetString( p_vout, "snapshot-path", path );
     var_SetString( p_vout, "snapshot-format", "png" );




More information about the vlc-devel mailing list