equal
deleted
inserted
replaced
279 case MediaSource::Empty: |
279 case MediaSource::Empty: |
280 TRACE_0("Empty media source"); |
280 TRACE_0("Empty media source"); |
281 break; |
281 break; |
282 } |
282 } |
283 |
283 |
|
284 if (oldPlayer) |
|
285 oldPlayer->close(); |
|
286 |
284 AbstractPlayer* newPlayer = 0; |
287 AbstractPlayer* newPlayer = 0; |
285 |
288 |
286 // Construct newPlayer using oldPlayer (if not 0) in order to copy |
289 // Construct newPlayer using oldPlayer (if not 0) in order to copy |
287 // parameters (volume, prefinishMark, transitionTime) which may have |
290 // parameters (volume, prefinishMark, transitionTime) which may have |
288 // been set on oldPlayer. |
291 // been set on oldPlayer. |