[vlc-devel] commit: Adjust rules, output FIFO after input FIFOs ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Nov 29 12:07:26 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Nov 29 13:06:31 2009 +0200| [dec407e71ed6e4b9f41bd9344867a8dfccbfd15c] | committer: Rémi Denis-Courmont 

Adjust rules, output FIFO after input FIFOs

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

 src/audio_output/common.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/audio_output/common.c b/src/audio_output/common.c
index 0c9cda7..8b84580 100644
--- a/src/audio_output/common.c
+++ b/src/audio_output/common.c
@@ -119,8 +119,8 @@ static void aout_Destructor( vlc_object_t * p_this )
  *            Mixer Input IFIFO OFIFO (< Inner lock)
  * Mixer       No!   N/A   Yes   Yes
  * Input       N/A   No!   Yes   N/A
- * In FIFOs    No!   No!   No!   No!
- * Out FIFOs   No!   N/A   Yes   No!
+ * In FIFOs    No!   No!   No!   Yes
+ * Out FIFOs   No!   N/A   No!   No!
  * (^ Outer lock)
  */
 #ifdef AOUT_DEBUG
@@ -138,11 +138,11 @@ void aout_lock (unsigned i)
         case INPUT_LOCK:
             allowed = 0;
             break;
-        case OUTPUT_FIFO_LOCK:
-            allowed = MIXER_LOCK;
-            break;
         case INPUT_FIFO_LOCK:
-            allowed = MIXER_LOCK|INPUT_LOCK|OUTPUT_FIFO_LOCK;
+            allowed = MIXER_LOCK|INPUT_LOCK;
+            break;
+        case OUTPUT_FIFO_LOCK:
+            allowed = MIXER_LOCK|INPUT_FIFO_LOCK;
             break;
     }
 




More information about the vlc-devel mailing list