GstEngine: Use QUrl::clear()
This commit is contained in:
@@ -256,8 +256,8 @@ void GstEngine::Stop(const bool stop_after) {
|
|||||||
|
|
||||||
StopTimers();
|
StopTimers();
|
||||||
|
|
||||||
stream_url_ = QUrl(); // To ensure we return Empty from state()
|
stream_url_.clear(); // To ensure we return Empty from state()
|
||||||
original_url_ = QUrl();
|
original_url_.clear();
|
||||||
beginning_nanosec_ = end_nanosec_ = 0;
|
beginning_nanosec_ = end_nanosec_ = 0;
|
||||||
|
|
||||||
// Check if we started a fade out. If it isn't finished yet and the user pressed stop, we cancel the fader and just stop the playback.
|
// Check if we started a fade out. If it isn't finished yet and the user pressed stop, we cancel the fader and just stop the playback.
|
||||||
|
|||||||
Reference in New Issue
Block a user