Revision da2033b...

Go back to digest for 16th January 2011

Optimization in Multimedia

sitter at kde dot org committed changes in [Phonon GStreamer] /gstreamer/backend.cpp:

Cleanup argument handling for gstreamer.
Rather than expensively building an argv on the heap we just make one on the stack and fill it with data from QByteArray's or static const char* (as required).

Then we just cast that to non-const char** so that gst can work its magic.

Also discard debug level checking for gst as it should do it on its own and if not the debug requester should read the documentation ;)

File Changes

Modified 1 files
  • /gstreamer/backend.cpp
1 files changed in total