MacOSX/Framework/VLCMediaPlayer.m: auto trigger KVO for @"description" key.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 5 Jan 2008 15:35:56 +0000 (15:35 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 5 Jan 2008 15:35:56 +0000 (15:35 +0000)
extras/MacOSX/Framework/Sources/VLCMediaPlayer.m

index 5cab52e..96e0c6e 100644 (file)
@@ -133,6 +133,7 @@ static void HandleMediaInstanceStateChanged(const libvlc_event_t * event, void *
         dict = [[NSDictionary dictionaryWithObjectsAndKeys:
             [NSSet setWithObject:@"state"], @"playing",
             [NSSet setWithObjects:@"state", @"media", nil], @"seekable",
+            [NSSet setWithObjects:@"state", @"media", nil], @"description",
             nil] retain];
     }
     return [dict objectForKey: key];