]> cloud.milkyroute.net Git - dolphin.git/commit
Show video previews according to file content instead of the mimetype-string
authorPeter Penz <peter.penz19@gmail.com>
Sat, 19 May 2012 20:27:53 +0000 (22:27 +0200)
committerPeter Penz <peter.penz19@gmail.com>
Sat, 19 May 2012 20:30:31 +0000 (22:30 +0200)
commitc318a3da6c79c35b4d3ba3043d71228cbeda64f8
treeb4cec1654cc109e381b4ac60e1daac4bb550b0f7
parente9d29bcf30ccbd7c76ba37ce9efcfac1649fc46e
Show video previews according to file content instead of the mimetype-string

Show a video widget depending on the video content instead of the mimetype
string: There are container formats which can be either audios or videos.
Besides, the rmvb video files have a mimetype of
"application/vnd.rn-realmedia", and these files can be recognized as videos
correctly now.

The patch has been provided by Hui Ni.

REVIEW: 104988
FIXED-IN: 4.9
src/panels/information/informationpanelcontent.cpp
src/panels/information/informationpanelcontent.h
src/panels/information/phononwidget.cpp
src/panels/information/phononwidget.h