[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-multimedia
Subject: Re: mimetype related problem with KPlayObject (affects multimedia streaming)
From: Matthias Welwarsky <matze () stud ! fbi ! fh-darmstadt ! de>
Date: 2002-02-21 13:00:03
[Download RAW message or body]
hi all,
okay, have been looking into it a bit and it'll be difficult to come up with a
better solution while maintaining the current, simple interface.
Two possible solutions:
Pseudo-Multithreading: Open the stream, enter an infinite loop calling
process_events() to not stall event processing of the application, make
KIOInputStream emit a signal once it got the mimetype, break out of the loop
and create the playobject.
The same can be done with real multithreading, if signals/slots are
thread-safe.
Every other solution will change the interface.
comments?
regards,
Matze
_______________________________________________
kde-multimedia mailing list
kde-multimedia@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-multimedia
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic