[vlc-devel] [PATCH 1/1] Supporting ONVIF PRofile-G recording playback

David R. Robison david.robison at openroadsconsulting.com
Wed Aug 6 15:58:10 CEST 2014


OK, but how do I force that through to the input and live555 modules? 
When setting the time (if I understand it correctly) it sets the input 
variable and uses the variable change callback to let the input module 
know which in turn sends it to the demux module. I need this value in 
the live555 module so I know which sendPlayCommand to send (the npt or 
the clock version). Also, I will want to change this for each media item 
anyway. For example, whenever I switch to playing a new recorded video 
stream I will want to set the time_base to the starting point of the 
recorded video. Once I get the DEMUX_SET_TIME_BASE I will save that 
variable in my demux structure so I have it for further reference while 
the media is playing. Am I missing something here?
David

David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: david.robison at openroadsconsulting.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526

On 8/6/2014 9:51 AM, Rémi Denis-Courmont wrote:
> Le 2014-08-06 16:45, David R. Robison a écrit :
>> OK, so what if I create a new media_player function called
>> libvlc_media_player_set_time_base and create an input variable called
>> "time-base".
>
> It should be a media player variable, not an input variable. 
> Otherwise, it will be lost everytime the media item changes.
>



This email communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed.
If you are not the intended recipient, please delete this email immediately.




More information about the vlc-devel mailing list