summaryrefslogtreecommitdiffstats
path: root/libhb/decmpeg2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/decmpeg2.c')
-rw-r--r--libhb/decmpeg2.c13
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 )
{