diff options
author | jstebbins <[email protected]> | 2013-11-01 17:51:52 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2013-11-01 17:51:52 +0000 |
commit | 33c6b8001165d5acbb318140a66b49c96475135a (patch) | |
tree | 62201274f40ebb0d9de5b149a2aa7f5a36a81b12 /libhb | |
parent | d4ec9513dc3cee764d5d3bc03c3b6ea95cdaaaaf (diff) |
libhb: fix problem with SSA render when muxer is avformat
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5864 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/decssasub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/decssasub.c b/libhb/decssasub.c index 277e3672b..ce8d84433 100644 --- a/libhb/decssasub.c +++ b/libhb/decssasub.c @@ -132,7 +132,7 @@ static hb_buffer_t *ssa_decode_packet( hb_work_object_t * w, hb_buffer_t *in ) hb_buffer_t *out_list = NULL; hb_buffer_t **nextPtr = &out_list; - + const char *EOL = "\r\n"; char *curLine, *curLine_parserData; for ( curLine = strtok_r( (char *) in->data, EOL, &curLine_parserData ); @@ -479,7 +479,7 @@ static int decssaInit( hb_work_object_t * w, hb_job_t * job ) w->private_data = pv; pv->job = job; - if (job->mux & HB_MUX_MASK_AV) + if (job->mux & HB_MUX_MASK_AV && w->subtitle->config.dest != RENDERSUB ) { pv->raw = 1; } |