summaryrefslogtreecommitdiffstats
path: root/libhb/scan.c
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2008-08-01 17:12:37 +0000
committerjbrjake <[email protected]>2008-08-01 17:12:37 +0000
commit7dde8068656d19ee95b0b9231e53d1c669806efe (patch)
treef1d8f8a1293d10427a638396062599255a17dc97 /libhb/scan.c
parentb22fd6b62c3f13000d36f8badc297b872f5b7a45 (diff)
Splits the display of job settings off from the actual work of beginning of a job, and reorganizes/elaborates the display's layout.
Adds new title variables to provide more description of sources: video_codec_name, video_bitrate (currently only used by DVD sources), and container_name and data_rate (currently only used by ffmpeg input sources). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1599 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/scan.c')
-rw-r--r--libhb/scan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/scan.c b/libhb/scan.c
index 060daaecf..1120d883d 100644
--- a/libhb/scan.c
+++ b/libhb/scan.c
@@ -507,10 +507,12 @@ static int DecodePreviews( hb_scan_t * data, hb_title_t * title )
remember_info( info_list, &vid_info );
+ title->video_codec_name = strdup( vid_info.name );
title->width = vid_info.width;
title->height = vid_info.height;
title->rate = vid_info.rate;
title->rate_base = vid_info.rate_base;
+ title->video_bitrate = vid_info.bitrate;
if( title->rate_base == 1126125 )
{