[vlc-devel] [PATCH] Ticket #2234: Add an option to pause the playback on minimizing the window

Rémi Denis-Courmont remi at remlab.net
Fri Dec 24 16:55:52 CET 2010


   Hello,

On Thursday 23 December 2010, Jakub Wieczorek wrote:
> One more time.
> This one actually takes care of the audio visualisation vs typical
> video difference.
> 
> Best regards,
> Jakub Wieczorek

In my opinion, this should be part of the IM, just like hasVideo:

+            bool hasVisualisation = false;
+            {
+                aout_instance_t *aout = THEMIM->getAout();
+                char *visual = aout ? var_InheritString( aout, "visual" ) : 
NULL;
+                if( visual )
+                {
+                    hasVisualisation = true;
+                    free( visual );
+                }
+            }

-- 
Rémi Denis-Courmont
http://www.remlab.info



More information about the vlc-devel mailing list