diff stream/tvi_v4l2.c @ 25005:1635b2b31bdd

Add missing call to audio_in_uninit in v4l2 tv driver. Without it, tv does not start on the second run when using mplayer in slave or idle mode. Patch by Stanislaw Jesmanowicz stan at jesmanowicz dot com
author voroshil
date Tue, 13 Nov 2007 11:34:45 +0000
parents 5d7f6e5e0847
children 7d5823bd4517
line wrap: on
line diff
--- a/stream/tvi_v4l2.c	Mon Nov 12 20:44:06 2007 +0000
+++ b/stream/tvi_v4l2.c	Tue Nov 13 11:34:45 2007 +0000
@@ -1147,6 +1147,8 @@
             free(priv->audio_skew_buffer);
         if (priv->audio_skew_delta_buffer)
             free(priv->audio_skew_delta_buffer);
+
+        audio_in_uninit(&priv->audio_in);
     }
 
     /* show some nice statistics ;-) */