Opened 6 years ago
Closed 3 years ago
#14577 closed defect (fixed)
S_DVBSUB detection fails in .mkv
| Reported by: | Felix Paul Kühne | Owned by: | Steve Lhomme |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0.0 |
| Component: | Demuxers: MKV | Version: | master git |
| Severity: | normal | Keywords: | |
| Cc: | robUx4 | Difficulty: | unknown |
| Platform(s): | all | Work status: | Not started |
Description
DVBSUBs are correctly detected and displayed when muxed to MPEG TS but fail with MKV.
This supported in Kodi and mplayer.
Change History (15)
comment:1 Changed 6 years ago by
comment:2 Changed 6 years ago by
| Milestone: | 2.2.2 → 2.2.x maintenance branch |
|---|
comment:3 Changed 6 years ago by
| Milestone: | 2.2.x maintenance branch → Bugs paradize |
|---|
comment:4 Changed 6 years ago by
diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index bfb64a5..90439cf 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1828,6 +1828,10 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
{
p_tk->fmt.i_codec = VLC_CODEC_BD_PG;
}
+ else if( !strcmp( p_tk->psz_codec, "S_DVBSUB" ) )
+ {
+ p_tk->fmt.i_codec = VLC_CODEC_DVBS;
+ }
else if( !strcmp( p_tk->psz_codec, "B_VOBBTN" ) )
{
p_tk->fmt.i_cat = NAV_ES;
comment:5 Changed 4 years ago by
comment:6 Changed 4 years ago by
@jb - So what prevents to push this two line fix to the main source tree ?
comment:8 Changed 4 years ago by
| Owner: | changed from TypX to Steve Lhomme |
|---|
comment:9 Changed 4 years ago by
comment:11 Changed 4 years ago by
Simply mapping the codec ID is not enough. We need to map the codec private data internally to something that looks more like a DVB frame to the decoder.
comment:15 Changed 3 years ago by
| Milestone: | Bugs paradize → 4.0.0 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Sample file here: http://streams.videolan.org/issues/14577/