From 6becc5a811c74a20e72eb8e81fdc5d21361d2d7f Mon Sep 17 00:00:00 2001 From: John Grossman Date: Thu, 22 Mar 2012 11:26:45 -0700 Subject: 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 --- media/libaah_rtp/aah_tx_player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/libaah_rtp/aah_tx_player.cpp b/media/libaah_rtp/aah_tx_player.cpp index 691a48ff5381..b194e105c008 100644 --- a/media/libaah_rtp/aah_tx_player.cpp +++ b/media/libaah_rtp/aah_tx_player.cpp @@ -642,7 +642,7 @@ void AAH_TXPlayer::sendTSUpdateNop_l() { sp packet = new TRTPControlPacket(); if (packet != NULL) { packet->setClockTransform(mCurrentClockTransform); - packet->setCommandID(TRTPControlPacket::kCommandFlush); + packet->setCommandID(TRTPControlPacket::kCommandNop); sendPacket_l(packet); } else { LOGD("Failed to allocate TRTP packet at %s:%d", __FILE__, __LINE__); -- cgit v1.2.3-59-g8ed1b