From b7552e4d2409d1f2615caf418d4d0ac8d8bff981 Mon Sep 17 00:00:00 2001 From: saintdev Date: Sun, 17 Jun 2007 00:51:17 +0000 Subject: Switch buf->key to buf->frametype which is a bitmask telling us what type of frame we are dealing with. This doesn't change any functionality, but I need to be able to distinguish between x264 IDR and I frames for the upcoming matroska muxer. This also has the side effect of making the code a little easier to read and maintain. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@623 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/encfaac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/encfaac.c') diff --git a/libhb/encfaac.c b/libhb/encfaac.c index 5545f9ebf..2ba9ad4e0 100644 --- a/libhb/encfaac.c +++ b/libhb/encfaac.c @@ -157,7 +157,7 @@ static hb_buffer_t * Encode( hb_work_object_t * w ) buf->stop = buf->start + 90000 * pv->input_samples / pv->job->arate / pv->out_discrete_channels; buf->size = faacEncEncode( pv->faac, (int32_t *) pv->buf, pv->input_samples, buf->data, pv->output_bytes ); - buf->key = 1; + buf->frametype = HB_FRAME_AUDIO; if( !buf->size ) { -- cgit v1.2.3