diff options
author | Rodeo <[email protected]> | 2013-09-15 22:10:57 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-09-15 22:10:57 +0000 |
commit | b112b9861556476f4fcb8650e044f9eba4f15ac4 (patch) | |
tree | 7f0cec4bec8e99ce31972ab34508aa95e1fd9dcd /libhb/decmpeg2.c | |
parent | df38b4e3b51cd16e1ef7c559717a578852877456 (diff) |
QSV: minor refactoring.
Address the easy issues first.
Apologies if I broke HandBrakeInterop.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5783 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decmpeg2.c')
-rw-r--r-- | libhb/decmpeg2.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/libhb/decmpeg2.c b/libhb/decmpeg2.c index 2a186295d..9d6b8fe42 100644 --- a/libhb/decmpeg2.c +++ b/libhb/decmpeg2.c @@ -906,14 +906,11 @@ static int decmpeg2Info( hb_work_object_t *w, hb_work_info_t *info ) (m->info->display_picture->flags & PROGRESSIVE) && (m->height == 480 ) ) ? 1126125 : m->rate; - info->bitrate = m->info->sequence->byte_rate * 8; - info->profile = m->info->sequence->profile_level_id >> 4; - info->level = m->info->sequence->profile_level_id & 0xf; - info->name = "mpeg2"; - -#ifdef USE_QSV - info->qsv_decode_support = 0; -#endif + info->name = "mpeg2"; + info->video_decode_support = HB_DECODE_SUPPORT_SW; + info->bitrate = m->info->sequence->byte_rate * 8; + info->profile = m->info->sequence->profile_level_id >> 4; + info->level = m->info->sequence->profile_level_id & 0xf; if( pv->libmpeg2->info->sequence->flags & SEQ_FLAG_COLOUR_DESCRIPTION ) { |