mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-09 03:31:41 +00:00
kax_reader_c: only output "using packetizer…" once for HEVC tracks
Fixes #1522.
This commit is contained in:
parent
2ea08319f8
commit
9062119ac5
@ -1,5 +1,9 @@
|
|||||||
2015-11-25 Moritz Bunkus <moritz@bunkus.org>
|
2015-11-25 Moritz Bunkus <moritz@bunkus.org>
|
||||||
|
|
||||||
|
* mkvmerge: Matroska reader bug fix: the info about which
|
||||||
|
packetizer is used was output twice for each HEVC track. Fixes
|
||||||
|
#1522.
|
||||||
|
|
||||||
* MKVToolNix GUI: bug fix: implemented a workaround for a bug in
|
* MKVToolNix GUI: bug fix: implemented a workaround for a bug in
|
||||||
Qt which caused the GUI not to start anymore due to failing to
|
Qt which caused the GUI not to start anymore due to failing to
|
||||||
detect a stale lock file if the GUI had crashed before on a
|
detect a stale lock file if the GUI had crashed before on a
|
||||||
|
@ -1470,14 +1470,10 @@ kax_reader_c::create_video_packetizer(kax_track_t *t,
|
|||||||
set_track_packetizer(t, new mpeg1_2_video_packetizer_c(this, nti, version, t->v_frate, t->v_width, t->v_height, t->v_dwidth, t->v_dheight, true));
|
set_track_packetizer(t, new mpeg1_2_video_packetizer_c(this, nti, version, t->v_frate, t->v_width, t->v_height, t->v_dwidth, t->v_dheight, true));
|
||||||
show_packetizer_info(t->tnum, t->ptzr_ptr);
|
show_packetizer_info(t->tnum, t->ptzr_ptr);
|
||||||
|
|
||||||
} else if (t->codec.is(codec_c::type_e::V_MPEGH_P2)) {
|
} else if (t->codec.is(codec_c::type_e::V_MPEGH_P2))
|
||||||
if (t->ms_compat)
|
create_hevc_video_packetizer(t, nti);
|
||||||
create_hevc_es_video_packetizer(t, nti);
|
|
||||||
else
|
|
||||||
create_hevc_video_packetizer(t, nti);
|
|
||||||
show_packetizer_info(t->tnum, t->ptzr_ptr);
|
|
||||||
|
|
||||||
} else if (t->codec.is(codec_c::type_e::V_MPEG4_P2)) {
|
else if (t->codec.is(codec_c::type_e::V_MPEG4_P2)) {
|
||||||
bool is_native = IS_MPEG4_L2_CODECID(t->codec_id);
|
bool is_native = IS_MPEG4_L2_CODECID(t->codec_id);
|
||||||
set_track_packetizer(t, new mpeg4_p2_video_packetizer_c(this, nti, t->v_frate, t->v_width, t->v_height, is_native));
|
set_track_packetizer(t, new mpeg4_p2_video_packetizer_c(this, nti, t->v_frate, t->v_width, t->v_height, is_native));
|
||||||
show_packetizer_info(t->tnum, t->ptzr_ptr);
|
show_packetizer_info(t->tnum, t->ptzr_ptr);
|
||||||
@ -1614,8 +1610,7 @@ kax_reader_c::create_hevc_es_video_packetizer(kax_track_t *t,
|
|||||||
void
|
void
|
||||||
kax_reader_c::create_hevc_video_packetizer(kax_track_t *t,
|
kax_reader_c::create_hevc_video_packetizer(kax_track_t *t,
|
||||||
track_info_c &nti) {
|
track_info_c &nti) {
|
||||||
if (!nti.m_private_data || !nti.m_private_data->get_size()) {
|
if (t->ms_compat || !nti.m_private_data || !nti.m_private_data->get_size()) {
|
||||||
// avc_es_parser_cptr parser = parse_first_hevc_frame(t, nti);
|
|
||||||
create_hevc_es_video_packetizer(t, nti);
|
create_hevc_es_video_packetizer(t, nti);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user