Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MediaTypeEx.h « DSUtil « src - github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a066136d05ee94f61723bd6cc11026bed559d90f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

class CMediaTypeEx : public CMediaType
{
public:
	CMediaTypeEx();
	CMediaTypeEx(const CMediaType& mt) {CMediaType::operator = (mt);}

	CString ToString(IPin* pPin = NULL);

	static CString GetVideoCodecName(const GUID& subtype, DWORD biCompression);
	static CString GetAudioCodecName(const GUID& subtype, WORD wFormatTag);
	static CString GetSubtitleCodecName(const GUID& subtype);

	void Dump(CAtlList<CString>& sl);
};