Skip to content

Commit

Permalink
[muxerMp4] Let QuickTime on macOS join the party, label HEVC as hvc1 …
Browse files Browse the repository at this point in the history
…instead of hev1
  • Loading branch information
eumagga0x2a committed Apr 22, 2019
1 parent af439ff commit 88d79d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions avidemux_plugins/ADM_muxers/muxerMp4/muxerMP4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ bool muxerMP4::open(const char *file, ADM_videoStream *s,uint32_t nbAudioTrack,A
c = video_st->codec;
AVCodecParameters *par;
par = video_st->codecpar;
if(isH265Compatible(s->getFCC()))
par->codec_tag = MKTAG('h', 'v', 'c', '1');
rescaleFps(s->getAvgFps1000(),&(c->time_base));
myTimeBase=video_st->time_base=c->time_base;
ADM_info("Video stream time base :%d,%d\n",video_st->time_base.num,video_st->time_base.den);
Expand Down

0 comments on commit 88d79d2

Please sign in to comment.