self->id = self->index = ssc->ssc_index;
self->type = ssc->ssc_type;
if ((is_copy = tvh_stream_is_copy(profile, ssc, src_codecs)) > 0) {
+ self->is_copy = 1;
if (ssc->ssc_gh) {
pktbuf_ref_inc(ssc->ssc_gh);
}
}
*ssc = *ssc_src;
if ((stream = tvh_stream_create(self, profile, ssc, codecs))) {
- tvh_ssc_log(ssc_src, LOG_INFO, "==> Using profile %s", self,
- tvh_codec_profile_get_name(profile));
+ if (stream->is_copy)
+ tvh_ssc_log(ssc_src, LOG_INFO, "==> Copy", self);
+ else
+ tvh_ssc_log(ssc_src, LOG_INFO, "==> Using profile %s", self,
+ tvh_codec_profile_get_name(profile));
SLIST_INSERT_HEAD(&self->streams, stream, link);
k++;
} else {