]> granicus.if.org Git - handbrake/commitdiff
decpgssub: make sure all packets get marked as subtitle frames
authorjstebbins <jstebbins.hb@gmail.com>
Wed, 29 Oct 2014 18:00:08 +0000 (18:00 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Wed, 29 Oct 2014 18:00:08 +0000 (18:00 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6476 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/decpgssub.c

index 89e3d75658a0c5666f1f29e30bdfd97aa04ce42d..73405d260bf9219985d12070fe739c3b52dc658d 100644 (file)
@@ -375,9 +375,9 @@ static int decsubWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
                     hb_buffer_close( &pv->list_pass_buffer );
 
                     out->s        = in->s;
-                    out->s.frametype = HB_FRAME_SUBTITLE;
                     out->sequence = in->sequence;
                 }
+                out->s.frametype    = HB_FRAME_SUBTITLE;
                 out->s.renderOffset = AV_NOPTS_VALUE;
                 out->s.stop         = AV_NOPTS_VALUE;
                 out->s.start        = pts;