Having some problems with stopping playing movie at given movie time.
Movie stops at different movie times, latter than expected.
Video file is in MPEG4 format, but I had similar problems with formats as well.
Bellow is the java code I am executing.
All suggestions are highly appreciated.
public class StopPlaybackCallBack extends TimeCallBack {
private QTMultiMovieController contr = null;
public StopPlaybackCallBack(QTMultiMovieController contr, int time)
throws QTException {
super(
contr.getMasterMovie().getTimeBase(),
contr.getMasterMovie().getTimeScale(),
time,
StdQTConstants.triggerTimeEither);
this.contr = contr;
callMeWhen();
}
public void execute() {
try {
contr.stop();
} catch (Exception ex) {
ex.printStackTrace();
}
}
}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden