Skip to content

Commit

Permalink
Remove unneeded codec configuration in janus-pp-rec (fixes #2833)
Browse files Browse the repository at this point in the history
  • Loading branch information
lminiero committed Dec 17, 2021
1 parent 3a35eca commit bc5d09b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion postprocessing/pp-h264.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ int janus_pp_h264_create(char *destination, char *metadata, gboolean faststart,
return -1;
}
fctx->video_codec = codec;
fctx->oformat->video_codec = codec->id;
vStream = avformat_new_stream(fctx, codec);
vStream->id = fctx->nb_streams-1;
vEncoder = avcodec_alloc_context3(codec);
Expand Down
1 change: 0 additions & 1 deletion postprocessing/pp-h265.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ int janus_pp_h265_create(char *destination, char *metadata, gboolean faststart,
return -1;
}
fctx->video_codec = codec;
fctx->oformat->video_codec = codec->id;
vStream = avformat_new_stream(fctx, codec);
vStream->id = fctx->nb_streams-1;
vEncoder = avcodec_alloc_context3(codec);
Expand Down

0 comments on commit bc5d09b

Please sign in to comment.