MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / decavcodecaInfo

Function decavcodecaInfo

libhb/decavcodec.c:746–763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

744}
745
746static int decavcodecaInfo( hb_work_object_t *w, hb_work_info_t *info )
747{
748 hb_work_private_t *pv = w->private_data;
749
750 memset( info, 0, sizeof(*info) );
751
752 if ( pv && pv->context )
753 {
754 AVCodecContext *context = pv->context;
755 info->bitrate = context->bit_rate;
756 info->rate.num = context->time_base.num;
757 info->rate.den = context->time_base.den;
758 info->profile = context->profile;
759 info->level = context->level;
760 return 1;
761 }
762 return 0;
763}
764
765static int parse_adts_extradata( hb_audio_t * audio, AVCodecContext * context,
766 AVPacket * pkt )

Callers 1

decavcodecaBSInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected