mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 15:33:00 +02:00
libstb-hal/libspark/playback: add method for retrieving read-count
This commit is contained in:
@@ -437,6 +437,8 @@ static void FFMPEGThread(Context_t *context) {
|
||||
Track_t * dvbsubtitleTrack = NULL;
|
||||
Track_t * teletextTrack = NULL;
|
||||
|
||||
context->playback->readCount += packet.size;
|
||||
|
||||
int pid = avContext->streams[packet.stream_index]->id;
|
||||
|
||||
if (context->manager->video->Command(context, MANAGER_GET_TRACK, &videoTrack) < 0)
|
||||
|
Reference in New Issue
Block a user