mirror of
https://github.com/game-stop/veejay.git
synced 2026-01-05 22:45:30 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user