[FFmpeg-cvslog] r26214 - trunk/libavdevice/v4l2.c
stefano
subversion
Tue Jan 4 19:18:02 CET 2011
Author: stefano
Date: Tue Jan 4 19:18:01 2011
New Revision: 26214
Log:
In the video4linux2 output device, log an error description in case of
ioctl failure in mmap_release_buffer().
Modified:
trunk/libavdevice/v4l2.c
Modified: trunk/libavdevice/v4l2.c
==============================================================================
--- trunk/libavdevice/v4l2.c Tue Jan 4 15:00:10 2011 (r26213)
+++ trunk/libavdevice/v4l2.c Tue Jan 4 19:18:01 2011 (r26214)
@@ -324,7 +324,7 @@ static void mmap_release_buffer(AVPacket
res = ioctl(fd, VIDIOC_QBUF, &buf);
if (res < 0) {
- av_log(NULL, AV_LOG_ERROR, "ioctl(VIDIOC_QBUF)\n");
+ av_log(NULL, AV_LOG_ERROR, "ioctl(VIDIOC_QBUF): %s\n", strerror(errno));
}
pkt->data = NULL;
pkt->size = 0;
More information about the ffmpeg-cvslog
mailing list