[MPlayer-dev-eng] patch to stream/tvi_v4l2.c

Stanislaw Jesmanowicz stan at jesmanowicz.com
Tue Nov 13 12:00:57 CET 2007


Below I send a small patch to tvi_v4l2.c
uninit audio was forgotten in uninit function.
It is important in case of running mplayer in slave and idle mode.
Without the patch, tv would not start on the second run.

Regards,

Stanislaw Jesmanowicz,
MrMsg, Haarlem, the Netherlands

svn diff
Index: stream/tvi_v4l2.c
===================================================================
--- stream/tvi_v4l2.c   (revision 25032)
+++ stream/tvi_v4l2.c   (working copy)
@@ -1155,6 +1155,8 @@
            info.short_name, priv->frames, dropped);
     mp_msg(MSGT_TV, MSGL_V, "%s: up to %u video frames buffered.\n",
            info.short_name, priv->video_buffer_size_current);
+    /* uninit audio */
+    audio_in_uninit(&priv->audio_in);
     return 1;
 }


-- 
___________________________________________________________________

Stanislaw Jesmanowicz      stan at jesmanowicz.com
Amsterdam, The Netherlands 






More information about the MPlayer-dev-eng mailing list