Browse Source

MT#55283 fix regression from f86c5e17

Change-Id: I45348fa753f778ab58a5dd257d45604a230fc5d5
pull/1964/head
Richard Fuchs 6 months ago
parent
commit
9c8773f32a
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      daemon/media_player.c

+ 2
- 1
daemon/media_player.c View File

@ -879,7 +879,8 @@ static bool media_player_cache_entry_init(struct media_player *mp, const rtp_pay
entry->coder = mp->coder;
ZERO(mp->coder);
mp->coder.duration = entry->coder.duration; // retain this for reporting
entry->coder.avioctx->opaque = &entry->coder; // format context pointer must point to new coder
if (entry->coder.avioctx)
entry->coder.avioctx->opaque = &entry->coder; // format context pointer must point to new coder
entry->call_ref = obj_get(mp->call); // hold reference until decoding is finished, as blob is owned by call
entry->coder.handler->packet_encoded = media_player_packet_cache;


Loading…
Cancel
Save