summaryrefslogtreecommitdiffstats
path: root/libhb/scan.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-04-28 21:39:48 +0000
committerRodeo <[email protected]>2013-04-28 21:39:48 +0000
commitdbb20ebe94d7fe1e78d59261239354cff839c584 (patch)
treebbce64c0f316cf180c892081da7fb98e5a6039e0 /libhb/scan.c
parentab0a39397c7b3630ba141cc8175d5eb05ef79a7d (diff)
Refactor add_ffmpeg_audio.
Simplify, set bitrate to 0 - scan will then call decavcodecaBSInfo, decode some audio and set the other input parameters, including samples_per_frame. decavcodec and scan fixes by John Stebbins. Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5424 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/scan.c')
-rw-r--r--libhb/scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/scan.c b/libhb/scan.c
index 40dffa01e..c83326d4d 100644
--- a/libhb/scan.c
+++ b/libhb/scan.c
@@ -1000,6 +1000,7 @@ static void LookForAudio( hb_title_t * title, hb_buffer_t * b )
}
hb_work_info_t info;
+ w->title = title;
w->audio = audio;
w->codec_param = audio->config.in.codec_param;
b = hb_fifo_see( audio->priv.scan_cache );