1. 08 Jul, 2013 5 commits
  2. 03 Jul, 2013 1 commit
    • hovanchen's avatar
      Prevent Media Server crash while the AwesomePlayer getBitrate return true with... · b9b8d14d
      hovanchen authored
      Prevent Media Server crash while the AwesomePlayer getBitrate return true with mBitrate equals to zero.
      
      [Cause]
         - getBitrate(int64_t *bitrate) will return true if mBitrate = 0.
         - Then, in getCachedDuration_l(int64_t *durationUs, bool *eos), 
           we might execute the following function when 
           getBitrate(&bitrate) = true and bitrate = 0.
              *durationUs = cachedDataRemaining * 8000000ll / bitrate;
         - Mediaserver will be crashed when divided by zero.
         - The mediaserver crash often occur when DLNA IOP tests on Golden DMS
           with AAC_ADTS_320 audio.
      [Solution]
         - Prevent the divide function executing when bitrate is zero.
      
      Change-Id: I4439d92cee5faec95df2109e9186c33b3fff6c66
      b9b8d14d
  3. 01 Jul, 2013 1 commit
    • Fredrik Rosin's avatar
      Prevent double disconnects in RTSPSource · 0ad03bc5
      Fredrik Rosin authored
      Prevent a null pointer from occuring by checking that we are not
      already disconnected before performing a disconnect, in case
      multiple disconnects have been issued.
      
      Change-Id: Ib88800cd246086fd57f77d10748d41b1aefe2084
      0ad03bc5
  4. 28 Jun, 2013 3 commits
  5. 27 Jun, 2013 1 commit
  6. 25 Jun, 2013 1 commit
  7. 20 Jun, 2013 2 commits
    • Glenn Kasten's avatar
      60f3f102
    • Christer Fletcher's avatar
      Prevent AudioCommands being freed before read · 5fa8c4bf
      Christer Fletcher authored
      When AudioCommandThread::threadLoop process AudioCommands it was
      possible for it to delete a command where the posting thread still
      hadn't read that status from it.
      
      If a second command signaled the thread loop to continue after it
      had inserted a new command while the thread loop was actually waiting
      for the first command to report that it had read the status the
      thread loop would continue and delete the first command.
      
      Changed the wait condition when waiting for the calling thread to
      read status to use command->mCond instead of mWaitWorkCV. This way
      it's guaranteed that the signal to continue comes from the correct
      thread.
      
      Change-Id: Ia69b48cb4fdfaf8b4c83b56a197fb9f2058a92d1
      5fa8c4bf
  8. 14 Jun, 2013 1 commit
  9. 07 Jun, 2013 2 commits
  10. 06 Jun, 2013 1 commit
    • Masaki Muranaka's avatar
      Fix typo. · f65fa170
      Masaki Muranaka authored
      Change-Id: Ia72ed2bef54751dc2d6c3379a58de95a0e9ebfdd
      f65fa170
  11. 14 May, 2013 2 commits
  12. 13 May, 2013 1 commit
    • Yajun Zeng's avatar
      Store rtsp accessunit until PLAY response parsed · bbbf9c45
      Yajun Zeng authored
      
      If RTP accessunit comes earlier than play response,
      the normal play time mapping posted in func onAccessUnitComplete is wrong.
      This leads wrong timestamp of the first few frames.
      This issue is found in the 3 CtsVerifier RTSP streaming cases.
      
      Change-Id: I640eea375b1f3f4730238f9d561c3b40ec682395
      Signed-off-by: default avatarYajun Zeng <beanz@marvell.com>
      bbbf9c45
  13. 24 Apr, 2013 3 commits
  14. 22 Apr, 2013 2 commits
  15. 15 Mar, 2013 2 commits
  16. 12 Mar, 2013 2 commits
    • Ola Andersson's avatar
      Prevent invalid frame durations · f7c18cf1
      Ola Andersson authored
      Prevent frame duration from being negative when
      exporting movie studio project
      
      Change-Id: I459fb243650c777c2b59d1094acc88c3a944bd81
      f7c18cf1
    • Xuefei Chen's avatar
      Fix for crash if no content in DESCRIBE response · 5f189753
      Xuefei Chen authored
      If DESCRIBE response is received with status 200 but no content,
      MyHandler will still set content data for session description
      parsing. This will cause NULL Pointer crash.
      This fix checks whether DESCRIBE response has content before
      parsing session description.
      
      Change-Id: I114ae6fd54ce804e61718f62618ca9008425a433
      5f189753
  17. 01 Mar, 2013 1 commit
  18. 28 Feb, 2013 1 commit
    • Sangkyu Lee's avatar
      Avoid invalid memory access when using extractMetadata() · d01c1481
      Sangkyu Lee authored
      
      BpMediaMetadataRetriever::extractMetadata() returns a string
      which is returned by readCString() function of the reply parcel object.
      However, the parcel object is destroyed at the end of the
      extractMetadata() function, and so the returned pointer is invalid.
      This patch fixes this problem by storing the metadata string value.
      
      Change-Id: I2a2ccba78246175b2845a237679d6cebe881e83b
      Signed-off-by: default avatarSangkyu Lee <sk82.lee@lge.com>
      d01c1481
  19. 27 Feb, 2013 3 commits
  20. 17 Feb, 2013 1 commit
    • Martin Storsjo's avatar
      SoftAMR: Signal the right frame format · 8298cd4d
      Martin Storsjo authored
      The correct enum for the format used is OMX_AUDIO_AMRFrameFormatFSF,
      which is the same as is used in amrnb/enc/SoftAMRNBEncoder.cpp,
      amrwbenc/SoftAMRWBEncoder.cpp and in OMXCodec and ACodec.
      
      The OMX_AUDIO_AMRFrameFormatConformance enum refers to an odd file
      format only used for conformance tests, not used in the wild.
      
      Change-Id: Idc395fc1d4969e33453522d6ec6526876438c526
      8298cd4d
  21. 31 Jan, 2013 4 commits