Skip to content

Commit

Permalink
Disable postprocessing of AV1 to MKV, only allow MP4 (fixes #3040)
Browse files Browse the repository at this point in the history
  • Loading branch information
lminiero committed Aug 30, 2022
1 parent 48549ab commit 8f2daf8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/postprocessing/pp-av1.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static int fps = 0;

/* Supported target formats */
static const char *janus_pp_av1_formats[] = {
"mp4", "mkv", NULL
"mp4", NULL
};
const char **janus_pp_av1_get_extensions(void) {
return janus_pp_av1_formats;
Expand All @@ -47,9 +47,6 @@ int janus_pp_av1_create(char *destination, char *metadata, gboolean faststart, c
JANUS_LOG(LOG_ERR, "This version of libavcodec doesn't support AV1...\n");
return -1;
#else
/* .mkv is Matroska video */
if(!strcasecmp(extension, "mkv"))
extension = "matroska";

/* Video output */
fctx = janus_pp_create_avformatcontext(extension, metadata, destination);
Expand Down

0 comments on commit 8f2daf8

Please sign in to comment.