Improve playback of VP9 codec

Origin commit data
------------------
Branch: master
Commit: e6638a72af
Author: samsamsam <samsamsam@o2.pl>
Date: 2019-02-02 (Sat, 02 Feb 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
samsamsam
2019-02-02 18:41:46 +01:00
committed by max_10
parent 8636524489
commit de9ff6374a
18 changed files with 306 additions and 111 deletions

View File

@@ -838,7 +838,7 @@ static void FFMPEGThread(Context_t *context)
else
#endif
{
uint8_t skipPacket = 0;
bool skipPacket = false;
currentVideoPts = videoTrack->pts = pts = calcPts(cAVIdx, videoTrack->stream, packet.pts);
videoTrack->dts = dts = calcPts(cAVIdx, videoTrack->stream, packet.dts);
@@ -860,14 +860,14 @@ static void FFMPEGThread(Context_t *context)
{
// skip already injected VIDEO packet
ffmpeg_printf(200, "skip already injected VIDEO packet\n");
skipPacket = 1;
skipPacket = true;
}
}
else
{
// skip VIDEO packet with unknown DTS
ffmpeg_printf(200, "skip VIDEO packet with unknown DTS\n");
skipPacket = 1;
skipPacket = true;
}
}