mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
Improve playback of VP9 codec
This commit is contained in:
@@ -839,7 +839,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);
|
||||
|
||||
@@ -861,14 +861,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