1 #import <Foundation/Foundation.h>
3 @protocol GStreamerBackendDelegate <NSObject>
6 /* Called when the GStreamer backend has finished initializing
7 * and is ready to accept orders. */
8 -(void) gstreamerInitialized;
10 /* Called when the GStreamer backend wants to output some message
12 -(void) gstreamerSetUIMessage:(NSString *)message;
14 /* Called when the media size is first discovered or it changes */
15 -(void) mediaSizeChanged:(NSInteger)width height:(NSInteger)height;
17 /* Called when the media position changes. Times in milliseconds */
18 -(void) setCurrentPosition:(NSInteger)position duration:(NSInteger)duration;