mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-04 01:03:33 +00:00
AVC/HEVC ES packetizers: cleanup after simplification
This commit is contained in:
parent
b9b94d0149
commit
d3c9e83bfc
@ -13,19 +13,12 @@
|
||||
|
||||
#include "common/common_pch.h"
|
||||
|
||||
#include <matroska/KaxTracks.h>
|
||||
|
||||
#include "common/avc/es_parser.h"
|
||||
#include "common/codec.h"
|
||||
#include "common/hacks.h"
|
||||
#include "common/mpeg.h"
|
||||
#include "merge/connection_checks.h"
|
||||
#include "merge/generic_reader.h"
|
||||
#include "merge/output_control.h"
|
||||
#include "output/p_avc_es.h"
|
||||
|
||||
using namespace libmatroska;
|
||||
|
||||
avc_es_video_packetizer_c::
|
||||
avc_es_video_packetizer_c(generic_reader_c *p_reader,
|
||||
track_info_c &p_ti)
|
||||
@ -54,7 +47,7 @@ avc_es_video_packetizer_c::check_if_default_duration_available()
|
||||
connection_result_e
|
||||
avc_es_video_packetizer_c::can_connect_to(generic_packetizer_c *src,
|
||||
std::string &error_message) {
|
||||
avc_es_video_packetizer_c *vsrc = dynamic_cast<avc_es_video_packetizer_c *>(src);
|
||||
auto *vsrc = dynamic_cast<avc_es_video_packetizer_c *>(src);
|
||||
if (!vsrc)
|
||||
return CAN_CONNECT_NO_FORMAT;
|
||||
|
||||
|
@ -12,18 +12,12 @@
|
||||
|
||||
#include "common/common_pch.h"
|
||||
|
||||
#include <matroska/KaxTracks.h>
|
||||
|
||||
#include "common/codec.h"
|
||||
#include "common/hacks.h"
|
||||
#include "common/hevc/util.h"
|
||||
#include "common/mpeg.h"
|
||||
#include "common/hevc/es_parser.h"
|
||||
#include "merge/connection_checks.h"
|
||||
#include "merge/output_control.h"
|
||||
#include "output/p_hevc_es.h"
|
||||
|
||||
using namespace libmatroska;
|
||||
|
||||
hevc_es_video_packetizer_c::hevc_es_video_packetizer_c(generic_reader_c *p_reader,
|
||||
track_info_c &p_ti)
|
||||
: avc_hevc_es_video_packetizer_c{p_reader, p_ti, "hevc", std::unique_ptr<mtx::avc_hevc::es_parser_c>(new mtx::hevc::es_parser_c)}
|
||||
|
Loading…
Reference in New Issue
Block a user