Thread: [Mplayerplug-in-devel] Final call for comments on pending 2.50 release
Brought to you by:
kdekorte
From: Kevin D. <kde...@ya...> - 2004-03-16 20:25:47
|
Well the changelog from 2.45 to 2.50(CVS) is getting pretty long so I am considering doing a release to get all the great changes that are in the CVS code out to everyone. So I would like to say this is call for final comments on the CVS code. the current diff between 2.45 and CVS is over 4000 lines long. (Alex was busy) Current change log... (and this only covers the stuff worth mentioning) Make ifilm.com QuickTime formats work Fix crash when setting up media formats at ifilm.com Added @CPPFLAGS@ to Makefile.in Fixed problem with URLcmp where everything was the same except hostname http://cartoonnetwork.com/file != http://www.cartoonnetwork.com/file This was caused by mozilla resolving the name to the full name Fix crash in this change Fix crash when running in X mode Fix td->list != list issue SetupPlayer safety checks Removed DESTROYED global var, implemented pthread_cancel and pthread_testcancel checks Return of DESTROYED global var, without it in very specific places we get nasty crashes Specifically in the main thread. Fix playlist issue for cbs.com survivor micro-site, Windows Media does not work because of specific codeing for Windows Media, realplayer mostly works. Mplayer does not like some of the commercials. Some fixes to help racerocks.com not crash the browser Alex Eskins's pthread patch applied Alex Eskins's playPlaylist patch applied Make real media work at npr.org and resolve infinate loop in smil code Move mimetype application/smil to realmedia section Alex Eskins's 2nd pthread patch applied DESTROYED global var eliminated again ./configure fixes DestroyCB removed as no longer needed Fixed NULL pointer error in smil decode Fixed Locking issue in SetupPlayer Fixed crash with the following URL: http://www.defjam.com/www2/listening/kanye_west/qt_feature/index.html Fixed issue where asf file self references itself and sets to mmsstream and player was not started Fixed issue where -playlist was passed to mplayer for a self reference asf file Alex Eskins's patch #3 applied Fixed error where local cache file was not getting deleted Fixed error where local cache file was being deleted twice More work on sysinstall and uninstall scripts Fixed X mode so that no global variables are used Fixed error where commands were not being send to mplayer (play, pause, etc...) Alex Eskin's fctrl patch Added javascript method "filename" Alex's rescan patch Alex's race patch javascript filename support Found and fixed shortcoming in URLcmp Changed the javascript filename method to a filename property Fixed race with n->cancelled and filename property Fixed crasher in ::GetFilename Fixed some locking in ::SetFilename Applied Alex's td_null patch Fixed bug in fullyQualifiedURL Applied Alex's mms -> mmst fallback patch Make all ASX files at FoxNews work Make ASX check less strict Show controls when autostart = false GUI consistancy fixes, have buttons respond to javascript commands Found crash in X mode, font != NULL at startup Fixed "loop" logic to that Video-C chart show works as well as other loop sites Redid "loop" logic so that locking is better controlled |
From: Lukas D. <lu...@lu...> - 2004-03-16 20:32:10
|
Hi all, I just wanted to ask you i fit would somehow be possible to intercept (perhaps using a JavaScript callback function) a 'finished playing' event. I.e. when the current filename has finished playing, then call myCallback(). Thanks a lot for your answers Lukas Demetz |
From: Carlos K. <ckn...@sc...> - 2004-03-16 20:54:24
|
Lucas, It's been requested. I've been looking for lots of Javascript support, and Kevin (et al), have done a great job making it happen so far. This function could be available too in the not-too-distant future (I'm hoping). Regards, Carlos Lukas Demetz wrote: >Hi all, > >I just wanted to ask you i fit would somehow be possible to intercept >(perhaps using a JavaScript callback function) a 'finished playing' event. >I.e. when the current filename has finished playing, then call myCallback(). > >Thanks a lot for your answers > >Lukas Demetz > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >Mplayerplug-in-devel mailing list >Mpl...@li... >https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel > > > > |
From: Kevin D. <kde...@ya...> - 2004-03-16 22:06:53
|
Carlos & Lukas, I have just added a javascript method "Open", works just like the filename property, but I thought I would expose as a method as well. Still researching the event callback. Have not found any docs yet on it. Also Lukas, you can check the property "playState" to know what state the player is in. It returns some constants JS_STATE_UNDEFINED is what the player is in when the media is totally done. I'm not sure that JS_STATE_MEDIAENDED is valid for more than a second or so. // JavaScript Playstates #define JS_STATE_UNDEFINED 0 #define JS_STATE_STOPPED 1 #define JS_STATE_PAUSED 2 #define JS_STATE_PLAYING 3 #define JS_STATE_SCANFORWARD 4 #define JS_STATE_SCANREVERSE 5 #define JS_STATE_BUFFERING 6 #define JS_STATE_WAITING 7 #define JS_STATE_MEDIAENDED 8 #define JS_STATE_TRANSITIONING 9 #define JS_STATE_READY 10 #define JS_STATE_RECONNECTING 11 // not sure we should just add a state here since the states are from WMP #define JS_STATE_INITIALIZING 12 Kevin On Tuesday 16 March 2004 01:47 pm, Carlos Knowlton wrote: > Lucas, > > It's been requested. I've been looking for lots of Javascript support, > and Kevin (et al), have done a great job making it happen so far. This > function could be available too in the not-too-distant future (I'm > hoping). > > Regards, > Carlos > > Lukas Demetz wrote: > >Hi all, > > > >I just wanted to ask you i fit would somehow be possible to intercept > >(perhaps using a JavaScript callback function) a 'finished playing' event. > >I.e. when the current filename has finished playing, then call > > myCallback(). > > > >Thanks a lot for your answers > > > >Lukas Demetz > > > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: IBM Linux Tutorials > >Free Linux tutorial presented by Daniel Robbins, President and CEO of > >GenToo technologies. Learn everything from fundamentals to system > >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > >_______________________________________________ > >Mplayerplug-in-devel mailing list > >Mpl...@li... > >https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Mplayerplug-in-devel mailing list > Mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel |
From: Janice E. <jj...@sc...> - 2004-03-18 16:44:25
|
Thought this might be helpful: Windows Media player generates an event when a movie ends. It's called the EndofStream event, and documentation is available here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcewmp/html/_wcesdk_asx_event_endofstream.asp If that link doesn't get you there, let me know, and I'll find an easier way. I am not aware of a similar event generated by QuickTime, although they do provide both the "duration" (total time of movie) and elapsed time for movies. Hope this helps, Janice Kevin DeKorte wrote: >Carlos & Lukas, > >I have just added a javascript method "Open", works just like the filename >property, but I thought I would expose as a method as well. > >Still researching the event callback. Have not found any docs yet on it. > >Also Lukas, you can check the property "playState" to know what state the >player is in. It returns some constants > >JS_STATE_UNDEFINED is what the player is in when the media is totally done. >I'm not sure that JS_STATE_MEDIAENDED is valid for more than a second or so. > >// JavaScript Playstates >#define JS_STATE_UNDEFINED 0 >#define JS_STATE_STOPPED 1 >#define JS_STATE_PAUSED 2 >#define JS_STATE_PLAYING 3 >#define JS_STATE_SCANFORWARD 4 >#define JS_STATE_SCANREVERSE 5 >#define JS_STATE_BUFFERING 6 >#define JS_STATE_WAITING 7 >#define JS_STATE_MEDIAENDED 8 >#define JS_STATE_TRANSITIONING 9 >#define JS_STATE_READY 10 >#define JS_STATE_RECONNECTING 11 >// not sure we should just add a state here since the states are from WMP >#define JS_STATE_INITIALIZING 12 > > >Kevin > >On Tuesday 16 March 2004 01:47 pm, Carlos Knowlton wrote: > > >>Lucas, >> >>It's been requested. I've been looking for lots of Javascript support, >>and Kevin (et al), have done a great job making it happen so far. This >>function could be available too in the not-too-distant future (I'm >>hoping). >> >>Regards, >>Carlos >> >>Lukas Demetz wrote: >> >> >>>Hi all, >>> >>>I just wanted to ask you i fit would somehow be possible to intercept >>>(perhaps using a JavaScript callback function) a 'finished playing' event. >>>I.e. when the current filename has finished playing, then call >>>myCallback(). >>> >>>Thanks a lot for your answers >>> >>>Lukas Demetz >>> >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: IBM Linux Tutorials >>>Free Linux tutorial presented by Daniel Robbins, President and CEO of >>>GenToo technologies. Learn everything from fundamentals to system >>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >>>_______________________________________________ >>>Mplayerplug-in-devel mailing list >>>Mpl...@li... >>>https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel >>> >>> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IBM Linux Tutorials >>Free Linux tutorial presented by Daniel Robbins, President and CEO of >>GenToo technologies. Learn everything from fundamentals to system >>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >>_______________________________________________ >>Mplayerplug-in-devel mailing list >>Mpl...@li... >>https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel >> >> > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >Mplayerplug-in-devel mailing list >Mpl...@li... >https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel > > > > |
From: Carlos K. <ckn...@sc...> - 2004-03-16 20:57:40
|
I say "post it!". It seems pretty stable to me. Good work! I look forward to seeing what new features (and javascript support (hint-hint =) ) will go into the next version. Best Regards, Carlos PS Thanks for all the help! Kevin DeKorte wrote: >Well the changelog from 2.45 to 2.50(CVS) is getting pretty long so I am >considering doing a release to get all the great changes that are in the CVS >code out to everyone. > >So I would like to say this is call for final comments on the CVS code. > >the current diff between 2.45 and CVS is over 4000 lines long. (Alex was busy) > >Current change log... (and this only covers the stuff worth mentioning) > > Make ifilm.com QuickTime formats work > Fix crash when setting up media formats at ifilm.com > Added @CPPFLAGS@ to Makefile.in > Fixed problem with URLcmp where everything was the same except hostname > http://cartoonnetwork.com/file != http://www.cartoonnetwork.com/file > This was caused by mozilla resolving the name to the full name > Fix crash in this change > Fix crash when running in X mode > Fix td->list != list issue > SetupPlayer safety checks > Removed DESTROYED global var, implemented pthread_cancel and >pthread_testcancel checks > Return of DESTROYED global var, without it in very specific places we get >nasty crashes > Specifically in the main thread. > Fix playlist issue for cbs.com survivor micro-site, Windows Media does not >work because > of specific codeing for Windows Media, realplayer mostly works. Mplayer > does not like some of the commercials. > Some fixes to help racerocks.com not crash the browser > Alex Eskins's pthread patch applied > Alex Eskins's playPlaylist patch applied > Make real media work at npr.org and resolve infinate loop in smil code > Move mimetype application/smil to realmedia section > Alex Eskins's 2nd pthread patch applied > DESTROYED global var eliminated again > ./configure fixes > DestroyCB removed as no longer needed > Fixed NULL pointer error in smil decode > Fixed Locking issue in SetupPlayer > Fixed crash with the following URL: >http://www.defjam.com/www2/listening/kanye_west/qt_feature/index.html > Fixed issue where asf file self references itself and sets to mmsstream and >player was not started > Fixed issue where -playlist was passed to mplayer for a self reference asf >file > Alex Eskins's patch #3 applied > Fixed error where local cache file was not getting deleted > Fixed error where local cache file was being deleted twice > More work on sysinstall and uninstall scripts > Fixed X mode so that no global variables are used > Fixed error where commands were not being send to mplayer (play, pause, >etc...) > Alex Eskin's fctrl patch > Added javascript method "filename" > Alex's rescan patch > Alex's race patch > javascript filename support > Found and fixed shortcoming in URLcmp > Changed the javascript filename method to a filename property > Fixed race with n->cancelled and filename property > Fixed crasher in ::GetFilename > Fixed some locking in ::SetFilename > Applied Alex's td_null patch > Fixed bug in fullyQualifiedURL > Applied Alex's mms -> mmst fallback patch > Make all ASX files at FoxNews work > Make ASX check less strict > Show controls when autostart = false > GUI consistancy fixes, have buttons respond to javascript commands > Found crash in X mode, font != NULL at startup > Fixed "loop" logic to that Video-C chart show works as well as other loop >sites > Redid "loop" logic so that locking is better controlled > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >Mplayerplug-in-devel mailing list >Mpl...@li... >https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel > > > > |