Media (macOS): optimise

This commit is contained in:
李通洲
2024-06-12 15:34:03 +08:00
committed by 李通洲
parent 30135570c7
commit df0fb93542
+1 -1
View File
@@ -27,7 +27,7 @@ static const char* getMedia(FFMediaResult* result)
dispatch_group_enter(group);
MRMediaRemoteGetNowPlayingApplicationIsPlaying(queue, ^(BOOL playing) {
ffStrbufAppendS(&result->status, playing ? "Playing" : "Paused");
ffStrbufSetStatic(&result->status, playing ? "Playing" : "Paused");
dispatch_group_leave(group);
});