VLC 3.0 not working with input-repeat=-1












2















This is my first post, not sure this is the correct place for it, if not please let me know.



I have C++ code running using VLCLib (from 0.x to 2.2.8) which works the way I intended.



Background info: I simply do a loadlibrary on libvlc.dll and then do a GetProcAddress on the entry points. (This works fine on both 2.2.x and 3.0)



Here is my new issue/question.
Using 2.2.8 I can play a file and it loops infinitely as requested, running the exact same code with VLC 3.0 plays the file only once, and does not loop/repeat.



// This is the line of code responsible for the looping.

pfnlibvlc_media_add_option(m_pVLCMedia, "input-repeat=-1");


In VLC 3.0 I set the libvlc_MediaPlayerEndReached event, but it never hits, I tried other events as sanity checks such as libvlc_MediaPlayerPlaying and this triggered.



Does anyone know if VLC 3.0 functionality has changed? I searched both the VLC wiki and StackOverflow and I can't find anything on this.



Thanks for the advice,
Marc










share|improve this question

























  • Not sure what happened, I have been running more tests to understand: the statement about libvlc_MediaPlayerEndReached not being reached is false, what I do get at the end of the video file is a libvlc_MediaPlayerStopped

    – Marc B
    Feb 27 '18 at 21:16
















2















This is my first post, not sure this is the correct place for it, if not please let me know.



I have C++ code running using VLCLib (from 0.x to 2.2.8) which works the way I intended.



Background info: I simply do a loadlibrary on libvlc.dll and then do a GetProcAddress on the entry points. (This works fine on both 2.2.x and 3.0)



Here is my new issue/question.
Using 2.2.8 I can play a file and it loops infinitely as requested, running the exact same code with VLC 3.0 plays the file only once, and does not loop/repeat.



// This is the line of code responsible for the looping.

pfnlibvlc_media_add_option(m_pVLCMedia, "input-repeat=-1");


In VLC 3.0 I set the libvlc_MediaPlayerEndReached event, but it never hits, I tried other events as sanity checks such as libvlc_MediaPlayerPlaying and this triggered.



Does anyone know if VLC 3.0 functionality has changed? I searched both the VLC wiki and StackOverflow and I can't find anything on this.



Thanks for the advice,
Marc










share|improve this question

























  • Not sure what happened, I have been running more tests to understand: the statement about libvlc_MediaPlayerEndReached not being reached is false, what I do get at the end of the video file is a libvlc_MediaPlayerStopped

    – Marc B
    Feb 27 '18 at 21:16














2












2








2








This is my first post, not sure this is the correct place for it, if not please let me know.



I have C++ code running using VLCLib (from 0.x to 2.2.8) which works the way I intended.



Background info: I simply do a loadlibrary on libvlc.dll and then do a GetProcAddress on the entry points. (This works fine on both 2.2.x and 3.0)



Here is my new issue/question.
Using 2.2.8 I can play a file and it loops infinitely as requested, running the exact same code with VLC 3.0 plays the file only once, and does not loop/repeat.



// This is the line of code responsible for the looping.

pfnlibvlc_media_add_option(m_pVLCMedia, "input-repeat=-1");


In VLC 3.0 I set the libvlc_MediaPlayerEndReached event, but it never hits, I tried other events as sanity checks such as libvlc_MediaPlayerPlaying and this triggered.



Does anyone know if VLC 3.0 functionality has changed? I searched both the VLC wiki and StackOverflow and I can't find anything on this.



Thanks for the advice,
Marc










share|improve this question
















This is my first post, not sure this is the correct place for it, if not please let me know.



I have C++ code running using VLCLib (from 0.x to 2.2.8) which works the way I intended.



Background info: I simply do a loadlibrary on libvlc.dll and then do a GetProcAddress on the entry points. (This works fine on both 2.2.x and 3.0)



Here is my new issue/question.
Using 2.2.8 I can play a file and it loops infinitely as requested, running the exact same code with VLC 3.0 plays the file only once, and does not loop/repeat.



// This is the line of code responsible for the looping.

pfnlibvlc_media_add_option(m_pVLCMedia, "input-repeat=-1");


In VLC 3.0 I set the libvlc_MediaPlayerEndReached event, but it never hits, I tried other events as sanity checks such as libvlc_MediaPlayerPlaying and this triggered.



Does anyone know if VLC 3.0 functionality has changed? I searched both the VLC wiki and StackOverflow and I can't find anything on this.



Thanks for the advice,
Marc







vlc libvlc






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 27 '18 at 20:46









Jerry Stratton

2,3131722




2,3131722










asked Feb 27 '18 at 19:39









Marc BMarc B

111




111













  • Not sure what happened, I have been running more tests to understand: the statement about libvlc_MediaPlayerEndReached not being reached is false, what I do get at the end of the video file is a libvlc_MediaPlayerStopped

    – Marc B
    Feb 27 '18 at 21:16



















  • Not sure what happened, I have been running more tests to understand: the statement about libvlc_MediaPlayerEndReached not being reached is false, what I do get at the end of the video file is a libvlc_MediaPlayerStopped

    – Marc B
    Feb 27 '18 at 21:16

















Not sure what happened, I have been running more tests to understand: the statement about libvlc_MediaPlayerEndReached not being reached is false, what I do get at the end of the video file is a libvlc_MediaPlayerStopped

– Marc B
Feb 27 '18 at 21:16





Not sure what happened, I have been running more tests to understand: the statement about libvlc_MediaPlayerEndReached not being reached is false, what I do get at the end of the video file is a libvlc_MediaPlayerStopped

– Marc B
Feb 27 '18 at 21:16












1 Answer
1






active

oldest

votes


















1














So, for the VLC >3.0 you cannot add the negative value of "input-repeat" to the parameter. Your string must look like input-repeat=65545 References to the issue - https://github.com/ZeBobo5/Vlc.DotNet/issues/96






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f49016671%2fvlc-3-0-not-working-with-input-repeat-1%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    So, for the VLC >3.0 you cannot add the negative value of "input-repeat" to the parameter. Your string must look like input-repeat=65545 References to the issue - https://github.com/ZeBobo5/Vlc.DotNet/issues/96






    share|improve this answer




























      1














      So, for the VLC >3.0 you cannot add the negative value of "input-repeat" to the parameter. Your string must look like input-repeat=65545 References to the issue - https://github.com/ZeBobo5/Vlc.DotNet/issues/96






      share|improve this answer


























        1












        1








        1







        So, for the VLC >3.0 you cannot add the negative value of "input-repeat" to the parameter. Your string must look like input-repeat=65545 References to the issue - https://github.com/ZeBobo5/Vlc.DotNet/issues/96






        share|improve this answer













        So, for the VLC >3.0 you cannot add the negative value of "input-repeat" to the parameter. Your string must look like input-repeat=65545 References to the issue - https://github.com/ZeBobo5/Vlc.DotNet/issues/96







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 30 '18 at 21:36









        Mark FieldmanMark Fieldman

        4114




        4114
































            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f49016671%2fvlc-3-0-not-working-with-input-repeat-1%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            MongoDB - Not Authorized To Execute Command

            How to fix TextFormField cause rebuild widget in Flutter

            Npm cannot find a required file even through it is in the searched directory