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: 72b10439563fc8185b0747d91034c2ce9eb83b35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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);
};