Skip to content

Commit

Permalink
simulate codec change every X sec
Browse files Browse the repository at this point in the history
  • Loading branch information
igorshevach committed Sep 9, 2024
1 parent d541c54 commit ec4a5dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions transcoder/transcode/transcode_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ int transcode_session_set_media_info(transcode_session_t *ctx,transcode_mediaInf
newCodecParams->extradata!=NULL &&
currentCodecParams->extradata!=NULL
// FIXME: uncomment memcp!!!
&& ctx->processedStats.totalFrames > 0
/*&& 0!=memcmp(newCodecParams->extradata,currentCodecParams->extradata,currentCodecParams->extradata_size)*/)
changed=true;
}
Expand Down

0 comments on commit ec4a5dd

Please sign in to comment.