From cc5ea363f8ee21648f822d5ac8238f97c271e0a0 Mon Sep 17 00:00:00 2001 From: voroshil Date: Fri, 1 Jun 2007 17:29:35 +0000 Subject: mjpeg support for v4l2 tv:// driver git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23441 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/tvi_def.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'stream/tvi_def.h') 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); } -- cgit v1.2.3