Qt: Add some more video formats
Jeffrey Pfau jeffrey@endrift.com
Mon, 10 Nov 2014 04:52:34 -0800
2 files changed,
15 insertions(+),
0 deletions(-)
M
src/platform/qt/VideoView.cpp
→
src/platform/qt/VideoView.cpp
@@ -25,7 +25,12 @@ s_acodecMap["mp3"] = "libmp3lame";
s_acodecMap["uncompressed"] = "pcm_s16le"; } if (s_vcodecMap.empty()) { + s_vcodecMap["dirac"] = "libschroedinger"; s_vcodecMap["h264"] = "libx264"; + s_vcodecMap["hevc"] = "libx265"; + s_vcodecMap["theora"] = "libtheora"; + s_vcodecMap["vp8"] = "libvpx"; + s_vcodecMap["vp9"] = "libvpx-vp9"; s_vcodecMap["xvid"] = "libxvid"; } if (s_containerMap.empty()) {
M
src/platform/qt/VideoView.ui
→
src/platform/qt/VideoView.ui
@@ -41,6 +41,11 @@ </property>
</item> <item> <property name="text"> + <string>WebM</string> + </property> + </item> + <item> + <property name="text"> <string>AVI</string> </property> </item>@@ -64,6 +69,11 @@ </item>
<item> <property name="text"> <string>h.264</string> + </property> + </item> + <item> + <property name="text"> + <string>VP8</string> </property> </item> <item>