2013-05-09 16:07:30 +00:00
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
@protocol GStreamerBackendDelegate <NSObject>
|
|
|
|
|
|
|
|
@optional
|
|
|
|
/* Called when the GStreamer backend has finished initializing
|
|
|
|
* and is ready to accept orders. */
|
|
|
|
-(void) gstreamerInitialized;
|
|
|
|
|
|
|
|
/* Called when the GStreamer backend wants to output some message
|
|
|
|
* to the screen. */
|
|
|
|
-(void) gstreamerSetUIMessage:(NSString *)message;
|
|
|
|
|
2013-05-14 16:11:04 +00:00
|
|
|
/* Called when the media size is first discovered or it changes */
|
|
|
|
-(void) mediaSizeChanged:(NSInteger)width height:(NSInteger)height;
|
|
|
|
|
2013-05-16 15:39:15 +00:00
|
|
|
/* Called when the media position changes. Times in milliseconds */
|
|
|
|
-(void) setCurrentPosition:(NSInteger)position duration:(NSInteger)duration;
|
|
|
|
|
2013-05-09 16:07:30 +00:00
|
|
|
@end
|