<div class="gmail_quote">2011/11/22 Jean-Paul Saman <span dir="ltr"><<a href="mailto:jpsaman@videolan.org">jpsaman@videolan.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Tue, Nov 22, 2011 at 4:31 AM, Sergey Radionov <<a href="mailto:rsatom@gmail.com">rsatom@gmail.com</a>> wrote:<br>
> Re-posting. Just to be shure the patch was not forgotten.<br>
><br>
> Or it has some problems?<br>
<br>
</div>Patch looks OK for me.<br>
<br>
Could you check the mozilla plugin for the same issue?<br></blockquote><div>I've check npapi plugin:<br><br><i>static void handle_changed_event(const libvlc_event_t* event, void *param)<br>{<br>    uint32_t   npcount = 1;<br>
    NPVariant *npparam = (NPVariant *) NPN_MemAlloc( sizeof(NPVariant) * npcount );<br><br>    VlcPlugin *plugin = (VlcPlugin*)param;<br>    switch( event->type )<br>    {<br>#ifdef LIBVLC120<br>        case libvlc_MediaPlayerBuffering:<br>
            DOUBLE_TO_NPVARIANT(event->u.media_player_buffering.new_cache, npparam[0]);<br>            break;<br>#endif<br>        case libvlc_MediaPlayerTimeChanged:<br>            DOUBLE_TO_NPVARIANT(<br>                static_cast<double>(event->u.media_player_time_changed.new_time),<br>
                npparam[0]);<br>            break;<br>        case libvlc_MediaPlayerPositionChanged:<br>            DOUBLE_TO_NPVARIANT(event->u.media_player_position_changed.new_position, npparam[0]);<br>            break;<br>
        case libvlc_MediaPlayerSeekableChanged:<br>            BOOLEAN_TO_NPVARIANT(event->u.media_player_seekable_changed.new_seekable, npparam[0]);<br>            break;<br>        case libvlc_MediaPlayerPausableChanged:<br>
            BOOLEAN_TO_NPVARIANT(event->u.media_player_pausable_changed.new_pausable, npparam[0]);<br>            break;<br>        case libvlc_MediaPlayerTitleChanged:<br>            BOOLEAN_TO_NPVARIANT(event->u.media_player_title_changed.new_title, npparam[0]);<br>
            break;<br>        case libvlc_MediaPlayerLengthChanged:<br>            DOUBLE_TO_NPVARIANT(<br>                static_cast<double>(event->u.media_player_length_changed.new_length),<br>                npparam[0]);<br>
            break;<br>        default: /* ignore all other libvlc_event_type_t */<br>            NPN_MemFree( npparam );<br>            return;<br>    }<br>    plugin->event_callback(event, npparam, npcount, param);<br>
}<br></i><br>so, it have no such functions...<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Kind regards,<br>
<span class="HOEnZb"><font color="#888888"><br>
Jean-Paul Saman<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</font></span></blockquote></div><br>