Skip to content

Commit 6becc5a

Browse files
committed
LibAAH_RTP: Fix an issue which crept in during code review.
Fix a mistake which came in as part of a merge conflict resolution during code review of the recent unicast mode refactor of LibAAH_RTP. Nop packet which were supposed to carry TS transformations for the pause state accidentally got flagged as Flush operations. The flush packet successfully carried the TS transformation, but also had the undesired side effect of constantly flushing the stream. Change-Id: I4c6aa0043fc274a1d7e880ed1d19cf277f22194b Signed-off-by: John Grossman <johngro@google.com>
1 parent 7d4f7e3 commit 6becc5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

media/libaah_rtp/aah_tx_player.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ void AAH_TXPlayer::sendTSUpdateNop_l() {
642642
sp<TRTPControlPacket> packet = new TRTPControlPacket();
643643
if (packet != NULL) {
644644
packet->setClockTransform(mCurrentClockTransform);
645-
packet->setCommandID(TRTPControlPacket::kCommandFlush);
645+
packet->setCommandID(TRTPControlPacket::kCommandNop);
646646
sendPacket_l(packet);
647647
} else {
648648
LOGD("Failed to allocate TRTP packet at %s:%d", __FILE__, __LINE__);

0 commit comments

Comments
 (0)