Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
transcoding: Code cosmetics
  • Loading branch information
tajson authored and perexg committed Jan 13, 2015
1 parent b2132d7 commit b497168
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plumbing/transcoding.c
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit b497168

Please sign in to comment.