Browse Source

TT#14008 use encoder's codec_def instead of parent handler's

closes #1203

Change-Id: I6e39d44aec1ae84595a6da30ab7ab365de4db9ad
pull/1219/head
Richard Fuchs 5 years ago
parent
commit
ff034ff307
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/codec.c

+ 1
- 1
daemon/codec.c View File

@ -2788,7 +2788,7 @@ static int packet_encoded_rtp(encoder_t *enc, void *u1, void *u2) {
// and request a packet
if (in_pkt)
ilogs(transcoding, LOG_DEBUG, "Adding %i bytes to packetizer", in_pkt->size);
int ret = ch->handler->dest_pt.codec_def->packetizer(in_pkt,
int ret = enc->def->packetizer(in_pkt,
ch->sample_buffer, &inout, enc);
if (G_UNLIKELY(ret == -1 || enc->avpkt.pts == AV_NOPTS_VALUE)) {


Loading…
Cancel
Save