From b497168ab44ad6e4bfa20c2f1293396eebbb1d52 Mon Sep 17 00:00:00 2001 From: Joakim Gissberg Date: Tue, 13 Jan 2015 18:50:10 +0100 Subject: [PATCH] transcoding: Code cosmetics --- src/plumbing/transcoding.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plumbing/transcoding.c b/src/plumbing/transcoding.c index 9dbe7df0..f017437a 100755 --- a/src/plumbing/transcoding.c +++ b/src/plumbing/transcoding.c @@ -543,7 +543,7 @@ transcoder_stream_audio(transcoder_t *t, transcoder_stream_t *ts, th_pkt_t *pkt) } // User specified streaming profile audio bitrate limiter. - if (t->t_props.tp_abitrate >=16) { + if (t->t_props.tp_abitrate >= 16) { octx->bit_rate = t->t_props.tp_abitrate * 1000; } @@ -1118,7 +1118,7 @@ transcoder_stream_video(transcoder_t *t, transcoder_stream_t *ts, th_pkt_t *pkt) } // Default "auto" CRF settings. Aimed for quality without being too agressive. - if (t->t_props.tp_vbitrate == 0 ) { + if (t->t_props.tp_vbitrate == 0) { octx->qmin = 10; octx->qmax = 30; } @@ -1442,7 +1442,7 @@ transcoder_init_audio(transcoder_t *t, streaming_start_component_t *ssc) sct = codec_id2streaming_component_type(ocodec->id); // Don't transcode to identical output codec unless the streaming profile specifies a bitrate limiter. - if (sct == ssc->ssc_type && t->t_props.tp_abitrate < 16 ) { + if (sct == ssc->ssc_type && t->t_props.tp_abitrate < 16) { return transcoder_init_stream(t, ssc); }