summaryrefslogtreecommitdiffstats
path: root/stream/tvi_def.h
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-01 17:29:35 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-01 17:29:35 +0000
commitcc5ea363f8ee21648f822d5ac8238f97c271e0a0 (patch)
tree6370e4d766e06f5c2a78258c66a36e768d72f96d /stream/tvi_def.h
parenteb5bf3b88e11054e30aaa34e713a4a61c167cc04 (diff)
downloadmpv-cc5ea363f8ee21648f822d5ac8238f97c271e0a0.tar.bz2
mpv-cc5ea363f8ee21648f822d5ac8238f97c271e0a0.tar.xz
mjpeg support for v4l2 tv:// driver
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23441 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tvi_def.h')
-rw-r--r--stream/tvi_def.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/stream/tvi_def.h b/stream/tvi_def.h
index 72b7bd5101..b08a603b83 100644
--- a/stream/tvi_def.h
+++ b/stream/tvi_def.h
@@ -86,6 +86,12 @@ static inline void fill_blank_frame(char* buffer,int len,int fmt){
buffer[i+3]=0;
}
break;
+ case IMGFMT_MJPEG:
+ /*
+ This is compressed format. I don't know yet how to fill such frame with blue color.
+ Keeping frame unchanged.
+ */
+ break;
default:
memset(buffer,0xC0,len);
}