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

Vladimir Voroshilov voroshil at gmail.com
Tue Nov 13 12:35:23 CET 2007


2007/11/13, Stanislaw Jesmanowicz <stan at jesmanowicz.com>:
> 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;
>  }
>

Patch is OK.
Applied, thanks.

-- 
Regards,
Vladimir Voroshilov     mailto:voroshil at gmail.com
JID: voroshil at gmail.com, voroshil at jabber.ru
ICQ: 95587719



More information about the MPlayer-dev-eng mailing list