webmenc: remove unused 'fps' parameter
Cleans -Wextra/-Wunused-parameter warning: warning: unused parameter ‘fps’ Change-Id: Ia5f9338f11ae8d0708a87c6d4e7d7e924fc3b19b
This commit is contained in:
parent
421f376568
commit
bce23ab36b
5
vpxenc.c
5
vpxenc.c
@ -1432,9 +1432,8 @@ static void open_output_file(struct stream_state *stream,
|
|||||||
#if CONFIG_WEBM_IO
|
#if CONFIG_WEBM_IO
|
||||||
if (stream->config.write_webm) {
|
if (stream->config.write_webm) {
|
||||||
stream->webm_ctx.stream = stream->file;
|
stream->webm_ctx.stream = stream->file;
|
||||||
write_webm_file_header(&stream->webm_ctx, cfg, &global->framerate,
|
write_webm_file_header(&stream->webm_ctx, cfg, stream->config.stereo_fmt,
|
||||||
stream->config.stereo_fmt, global->codec->fourcc,
|
global->codec->fourcc, pixel_aspect_ratio);
|
||||||
pixel_aspect_ratio);
|
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
(void)pixel_aspect_ratio;
|
(void)pixel_aspect_ratio;
|
||||||
|
@ -22,7 +22,6 @@ const int kVideoTrackNumber = 1;
|
|||||||
|
|
||||||
void write_webm_file_header(struct WebmOutputContext *webm_ctx,
|
void write_webm_file_header(struct WebmOutputContext *webm_ctx,
|
||||||
const vpx_codec_enc_cfg_t *cfg,
|
const vpx_codec_enc_cfg_t *cfg,
|
||||||
const struct vpx_rational *fps,
|
|
||||||
stereo_format_t stereo_fmt, unsigned int fourcc,
|
stereo_format_t stereo_fmt, unsigned int fourcc,
|
||||||
const struct VpxRational *par) {
|
const struct VpxRational *par) {
|
||||||
mkvmuxer::MkvWriter *const writer = new mkvmuxer::MkvWriter(webm_ctx->stream);
|
mkvmuxer::MkvWriter *const writer = new mkvmuxer::MkvWriter(webm_ctx->stream);
|
||||||
|
@ -39,7 +39,6 @@ typedef enum stereo_format {
|
|||||||
|
|
||||||
void write_webm_file_header(struct WebmOutputContext *webm_ctx,
|
void write_webm_file_header(struct WebmOutputContext *webm_ctx,
|
||||||
const vpx_codec_enc_cfg_t *cfg,
|
const vpx_codec_enc_cfg_t *cfg,
|
||||||
const struct vpx_rational *fps,
|
|
||||||
stereo_format_t stereo_fmt, unsigned int fourcc,
|
stereo_format_t stereo_fmt, unsigned int fourcc,
|
||||||
const struct VpxRational *par);
|
const struct VpxRational *par);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user