From 6495c12cff05427fc35942f94cceb1133fffa70e Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sat, 28 Dec 2013 17:29:04 +0100 Subject: [PATCH] Dirac reader: use codec_c for common codec names --- src/input/r_dirac.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/input/r_dirac.cpp b/src/input/r_dirac.cpp index d2ed02267..a74b7f040 100644 --- a/src/input/r_dirac.cpp +++ b/src/input/r_dirac.cpp @@ -14,6 +14,7 @@ #include "common/common_pch.h" #include "common/byte_buffer.h" +#include "common/codec.h" #include "common/endian.h" #include "common/error.h" #include "input/r_dirac.h" @@ -110,5 +111,5 @@ dirac_es_reader_c::read(generic_packetizer_c *, void dirac_es_reader_c::identify() { id_result_container(); - id_result_track(0, ID_RESULT_TRACK_VIDEO, "Dirac"); + id_result_track(0, ID_RESULT_TRACK_VIDEO, codec_c::get_name(CT_V_DIRAC, "Dirac")); }