summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/muxmkv.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/libhb/muxmkv.c b/libhb/muxmkv.c
index 445447f9c..7256843ff 100644
--- a/libhb/muxmkv.c
+++ b/libhb/muxmkv.c
@@ -452,16 +452,8 @@ static int MKVMux( hb_mux_object_t * m, hb_mux_data_t * mux_data,
}
duration = buf->stop * TIMECODE_SCALE - timecode;
- if( mux_data->sub_format == TEXTSUB )
- {
- mk_addFrameData(m->file, mux_data->track, buf->data, buf->size);
- mk_setFrameFlags(m->file, mux_data->track, timecode, 1, duration);
- }
- else
- {
- mk_addFrameData(m->file, mux_data->track, buf->data, buf->size);
- mk_setFrameFlags(m->file, mux_data->track, timecode, 1, duration);
- }
+ mk_addFrameData(m->file, mux_data->track, buf->data, buf->size);
+ mk_setFrameFlags(m->file, mux_data->track, timecode, 1, duration);
mk_flushFrame(m->file, mux_data->track);
hb_buffer_close( &buf );
return 0;