From 70ca379c4c932286c3616e49d3ac5de980d5fb2f Mon Sep 17 00:00:00 2001 From: voroshil Date: Tue, 13 Nov 2007 11:34:45 +0000 Subject: 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25033 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/tvi_v4l2.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stream') diff --git a/stream/tvi_v4l2.c b/stream/tvi_v4l2.c index 989d98f467..0cefee2450 100644 --- a/stream/tvi_v4l2.c +++ b/stream/tvi_v4l2.c @@ -1147,6 +1147,8 @@ static int uninit(priv_t *priv) 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 ;-) */ -- cgit v1.2.3