From: Joakim Gissberg Date: Tue, 13 Jan 2015 17:50:10 +0000 (+0100) Subject: transcoding: Code cosmetics X-Git-Tag: v4.1~484 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b497168ab44ad6e4bfa20c2f1293396eebbb1d52;p=thirdparty%2Ftvheadend.git transcoding: Code cosmetics --- diff --git a/src/plumbing/transcoding.c b/src/plumbing/transcoding.c index 9dbe7df08..f017437ac 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); }