projects
/
handbrake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba591eb
)
bd: change angles before seeking
author
John Stebbins
<jstebbins.hb@gmail.com>
Mon, 4 Apr 2016 20:10:09 +0000
(14:10 -0600)
committer
John Stebbins
<jstebbins.hb@gmail.com>
Mon, 4 Apr 2016 20:10:09 +0000
(14:10 -0600)
the angle can affect the seek position
libhb/reader.c
patch
|
blob
|
history
diff --git
a/libhb/reader.c
b/libhb/reader.c
index bb3af19455f0376575e0fc836da4563f4ca611ba..eed99da6e99289e57769d1ee48351d6b32e2b2af 100644
(file)
--- a/
libhb/reader.c
+++ b/
libhb/reader.c
@@
-97,6
+97,10
@@
static int hb_reader_open( hb_work_private_t * r )
hb_bd_close(&r->bd);
return 1;
}
+ if (r->job->angle > 1)
+ {
+ hb_bd_set_angle(r->bd, r->job->angle - 1);
+ }
if (r->job->start_at_preview)
{
// XXX code from DecodePreviews - should go into its own routine
@@
-117,10
+121,6
@@
static int hb_reader_open( hb_work_private_t * r )
{
hb_bd_seek_chapter(r->bd, r->job->chapter_start);
}
- if (r->job->angle > 1)
- {
- hb_bd_set_angle(r->bd, r->job->angle - 1);
- }
}
else if (r->title->type == HB_DVD_TYPE)
{