# HG changeset patch # User voroshil # Date 1194953685 0 # Node ID 1635b2b31bdd6f74cbb36bff4ef51cb4a2a421e7 # Parent 98ca15113cc614cc766a0daf3c30aad765715b99 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 diff -r 98ca15113cc6 -r 1635b2b31bdd stream/tvi_v4l2.c --- 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 ;-) */