Commit 2587fa70 authored by Michael Pyne's avatar Michael Pyne

CVS_SILENT This is a spaces-only file. Make sure I don't accidentally insert tabs again. ;)

svn path=/trunk/kdemultimedia/juk/; revision=360614
parent 531a06e7
......@@ -55,8 +55,8 @@ GStreamerPlayer::~GStreamerPlayer()
void GStreamerPlayer::play(const FileHandle &file)
{
if(!file.isNull()) {
stop();
g_object_set(G_OBJECT(m_source), "location", file.absFilePath().utf8().data(), 0);
stop();
g_object_set(G_OBJECT(m_source), "location", file.absFilePath().utf8().data(), 0);
}
gst_element_set_state(m_pipeline, GST_STATE_PLAYING);
......@@ -134,3 +134,5 @@ long long GStreamerPlayer::time(GstQueryType type) const
#include "gstreamerplayer.moc"
#endif
// vim: set et sw=4:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment