diff options
author | jstebbins <[email protected]> | 2010-10-23 19:11:31 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2010-10-23 19:11:31 +0000 |
commit | 71339bee34b6dbc248ee2027ead281369f02024c (patch) | |
tree | ff7459e51ab72d48a58b4b0a5bb59284523f7eca /libhb/encx264.c | |
parent | a31c919e771257d81192439f3afcea0f444a27bc (diff) |
clean up crufty legacy code
remove unused code relating to avi, ogm, psp, ipod, and forcing h264 levels
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3622 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encx264.c')
-rw-r--r-- | libhb/encx264.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c index 2a3c2b6e2..83d3edabb 100644 --- a/libhb/encx264.c +++ b/libhb/encx264.c @@ -169,13 +169,6 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job ) } param.i_log_level = X264_LOG_INFO; - if( job->h264_level ) - { - param.b_cabac = 0; - param.i_level_idc = job->h264_level; - hb_log( "encx264: encoding at level %i", - param.i_level_idc ); - } /* This section passes the string x264opts to libx264 for parsing into @@ -426,16 +419,6 @@ static hb_buffer_t *nal_encode( hb_work_object_t *w, x264_picture_t *pic_out, continue; } - if( job->mux & HB_MUX_AVI ) - { - if( nal[i].i_ref_idc == NAL_PRIORITY_HIGHEST ) - { - buf->frametype = HB_FRAME_KEY; - } - buf->size += size; - continue; - } - /* H.264 in .mp4 or .mkv */ switch( nal[i].i_type ) { |