Cleanup debug statements,fixed veejay commandline parameter '-Y' , fixed pixel format detection, Added more decoders , Fixed recording duration in both sample and stream recorders, Fixed YV12 YV16 formats (auto conversion), Fixed -d and -Y , Slight improvements to RGB <-> YCBCR conversion

git-svn-id: svn://code.dyne.org/veejay/trunk@396 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
Niels Elburg
2005-09-19 17:48:07 +00:00
parent 2de0f7d2e0
commit 758fca3a67
12 changed files with 390 additions and 195 deletions

View File

@@ -1057,7 +1057,7 @@ static int vj_tag_start_encoder(vj_tag *tag, int format, long nframes)
else
if(format==ENCODER_YUV420)
{
tag->encoder_max_size= ( _tag_info->edit_list->video_width * _tag_info->edit_list->video_height *2);
tag->encoder_max_size = (_tag_info->edit_list->video_width * _tag_info->edit_list->video_height * 2 );
}
else
{
@@ -1135,7 +1135,8 @@ int vj_tag_continue_record( int t1 )
if(si->encoder_num_frames >= si->encoder_duration)
{
veejay_msg(VEEJAY_MSG_INFO, "Ready recording %ld frames", si->encoder_succes_frames);
si->encoder_total_frames = 0;
vj_tag_update(si, t1 );
return 1;
}
@@ -1155,7 +1156,7 @@ int vj_tag_continue_record( int t1 )
si->encoder_total_frames,
si->encoder_duration);
si->encoder_total_frames = 0;
vj_tag_update(si,t1);
return 2;
}