fix setting norm to NTSC, fix NTSC in dummy mode, display norm when opening v4l devices, added environment var 'VEEJAY_RUN_MODE' to run old dummy mode, new mode runs in PAL or NTSC highest resolution by default.

git-svn-id: svn://code.dyne.org/veejay/trunk@1367 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
Niels Elburg
2010-02-02 19:19:01 +00:00
parent 8c5ada8f2b
commit 7f5419db4f
6 changed files with 56 additions and 23 deletions

View File

@@ -563,7 +563,7 @@ void v4lprint(v4ldevice *vd)
veejay_msg(VEEJAY_MSG_DEBUG,"\tPalette:%x",vd->picture.palette);
veejay_msg(VEEJAY_MSG_DEBUG,"\tWidth:%d",vd->mmap.width);
veejay_msg(VEEJAY_MSG_DEBUG,"\tHeight:%d",vd->mmap.height);
veejay_msg(VEEJAY_MSG_DEBUG,"\tNorm: %s", v4lvideo_templ_get_norm_str( vd->channel[0].norm ));
veejay_msg(VEEJAY_MSG_DEBUG,"\tBuffer size: %08x",vd->mbuf.size);
veejay_msg(VEEJAY_MSG_DEBUG,"\tNum buffers: %d",vd->mbuf.frames);
veejay_msg(VEEJAY_MSG_DEBUG,"\t offsets[0]: %08x",vd->mbuf.offsets[0]);