Skip to content

Commit

Permalink
[editor] Try to guess PTS for WMV3 too
Browse files Browse the repository at this point in the history
  • Loading branch information
eumagga0x2a committed Nov 27, 2018
1 parent 1dd0eeb commit a839135
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion avidemux/common/ADM_editor/src/ADM_edit.cpp
Expand Up @@ -409,7 +409,8 @@ uint8_t ADM_Composer::addFile (const char *name)
if(video.decoder->bFramePossible())
{
printf("[Editor] B- frame possible with that codec \n");
if(isMpeg4Compatible(info.fcc) || isMpeg12Compatible(info.fcc) || isVC1Compatible(info.fcc))
#define FCC_MATCHES(x) fourCC::check(info.fcc,(uint8_t *)x)
if(isMpeg4Compatible(info.fcc) || isMpeg12Compatible(info.fcc) || isVC1Compatible(info.fcc) || FCC_MATCHES("WMV3"))
{
ADM_info("[Editor] It is mpeg4-SP/ASP, try to guess all PTS\n");
uint64_t delay;
Expand Down

0 comments on commit a839135

Please sign in to comment.