mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
libeplayer3/input: amend 1816ee3c42
Origin commit data
------------------
Branch: master
Commit: a3511c9219
Author: martii <m4rtii@gmx.de>
Date: 2014-07-28 (Mon, 28 Jul 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -222,7 +222,7 @@ bool Input::Play()
|
||||
switch (sub.rects[0]->type) {
|
||||
case SUBTITLE_TEXT: // FIXME?
|
||||
case SUBTITLE_ASS:
|
||||
dvbsub_ass_write(stream->codec, &sub, stream->id);
|
||||
dvbsub_ass_write(stream->codec, &sub, _subtitleTrack->pid);
|
||||
break;
|
||||
case SUBTITLE_BITMAP: {
|
||||
int64_t pts = calcPts(stream, packet.pts);
|
||||
@@ -237,7 +237,7 @@ bool Input::Play()
|
||||
}
|
||||
} else if (_teletextTrack && (_teletextTrack->stream == stream)) {
|
||||
if (packet.data && packet.size > 1)
|
||||
teletext_write(stream->id, packet.data + 1, packet.size - 1);
|
||||
teletext_write(_teletextTrack->pid, packet.data + 1, packet.size - 1);
|
||||
}
|
||||
|
||||
av_free_packet(&packet);
|
||||
|
Reference in New Issue
Block a user