summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-13 11:34:45 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-13 11:34:45 +0000
commit70ca379c4c932286c3616e49d3ac5de980d5fb2f (patch)
tree2a69bc28c937599384270abeee6272f1732a2b02 /stream
parentcc11fc77b364725dfdc59052ae4996cfe16883ba (diff)
downloadmpv-70ca379c4c932286c3616e49d3ac5de980d5fb2f.tar.bz2
mpv-70ca379c4c932286c3616e49d3ac5de980d5fb2f.tar.xz
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
Diffstat (limited to 'stream')
-rw-r--r--stream/tvi_v4l2.c2
1 files changed, 2 insertions, 0 deletions
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 ;-) */