mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-13 20:06:35 +00:00
21 lines
649 B
C
21 lines
649 B
C
|
#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;
|
||
|
|
||
|
/* Called when the media size is first discovered or it changes */
|
||
|
-(void) mediaSizeChanged:(NSInteger)width height:(NSInteger)height;
|
||
|
|
||
|
/* Called when the media position changes. Times in milliseconds */
|
||
|
-(void) setCurrentPosition:(NSInteger)position duration:(NSInteger)duration;
|
||
|
|
||
|
@end
|