changeset 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 98ca15113cc6
children cc8cb1bbd38e
files stream/tvi_v4l2.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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 ;-) */