diff options
author | jstebbins <[email protected]> | 2014-12-16 16:50:50 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2014-12-16 16:50:50 +0000 |
commit | f56efd7b52c89da8cac55b4d4a187f2c87fdfee6 (patch) | |
tree | 24eacb856704fa8e4b8b8f0edc76568916f70255 /libhb/stream.c | |
parent | d0a975e42dcab93e1d2eead350fb1ba3951d977c (diff) |
json: add json APIs
There are several changes to job and title structs that break
current windows interop code. The interop code should be changed
such that it only uses json APIs. So if there is any missing
features (or bugs) in these APIs, please let me know.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6602 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/stream.c')
-rw-r--r-- | libhb/stream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/stream.c b/libhb/stream.c index 0d1bec226..fc3bb7b4a 100644 --- a/libhb/stream.c +++ b/libhb/stream.c @@ -5435,8 +5435,8 @@ static hb_title_t *ffmpeg_title_scan( hb_stream_t *stream, hb_title_t *title ) if ( ic->streams[i]->sample_aspect_ratio.num && ic->streams[i]->sample_aspect_ratio.den ) { - title->pixel_aspect_width = ic->streams[i]->sample_aspect_ratio.num; - title->pixel_aspect_height = ic->streams[i]->sample_aspect_ratio.den; + title->geometry.par.num = ic->streams[i]->sample_aspect_ratio.num; + title->geometry.par.den = ic->streams[i]->sample_aspect_ratio.den; } title->video_codec = WORK_DECAVCODECV; |