diff options
author | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2019-07-11 17:54:10 +0200 |
---|---|---|
committer | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2019-07-17 10:55:30 +0200 |
commit | 411bd814849dace75ec755c46f668604eb6f4821 (patch) | |
tree | 9a1d0298b28cb1265d936d211005e4b613698319 /src/plugins/directshow/player | |
parent | ff7dcf3a38f33bb262c876ce1e959e7a1bc29f5a (diff) |
GStreamer: Implement fetching audio/video codecs by container
Moved stream types to QGstCodecsInfo and added possibility to fetch audio
or video codecs by a container. Or fetch containers by audio or video codec.
It would allow to debug supported codecs and containers:
QGstCodecsInfo containers(QGstCodecsInfo::Muxer);
QGstCodecsInfo audioCodecs(QGstCodecsInfo::AudioEncoder);
for (auto &container: containers.supportedCodecs())
qDebug() << audioCodecs.supportedCodecs(containers.supportedStreamTypes(container));
Change-Id: I26bf5579db6974a166d408c4865a9ffe314e3e15
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/plugins/directshow/player')
0 files changed, 0 insertions, 0 deletions