mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 15:32:43 +02:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user