[MPlayer-dev-eng] [PATCH] updated old v4lw vo patch
Vladimir Voroshilov
voroshil at gmail.com
Tue Apr 8 04:33:37 CEST 2008
On Mon, Apr 7, 2008 at 9:50 PM, <kirin_e at users.sourceforge.net> wrote:
> Hi,
>
> I've recently been playing around a bit with v4l vloopback and have
> updated an old mplayer patch i found that added a video4linux write vo.
> Figured i'd send the updated version to the list in case it's of use to
> someone else. Patch is against snapshot 2008-04-05.
>
> Updated patch is attached, the old original patch is found here:
> http://www.tibit.org/video/
>
[...]
>+static int start_pipe(int dev, int width, int height)
+{
+ struct video_capability vid_cap;
+ struct video_window vid_win;
+ struct video_picture vid_pic;
+
+ if (ioctl(dev, VIDIOCGCAP, &vid_cap) == -1) {
+ perror("ioctl VIDIOCGCAP");
+ return 1;
+ }
This and below.
Should this be
mp_msg(MSGT_VO, MSGL_ERR, "ioctl VIDIOCGCAP: %\n", strerror(errno));
?
--
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