Trying to implement a multideck transition IVdjPluginVideoTransitionMultiDeck8
Implementing OnDrawMultiDeck(int nbVideoDecks, int *videoDecks)
reveals the old BUG about extra decks, the one making people think "loading deck 99 opens 99 decks"
The one making multiDecks transition fail
The one preventing clone_deck to work properly
https://www.virtualdj.com/forums/231448/General_Discussion/Problems_with_deck_numbering__.html
Was working ok for years until middle 2019
https://www.virtualdj.com/forums/198386/Video_Discussion/Mixing_4_Decks_with_4_videos_in_each__Possible_.html
nbVideoDecks number of decks having video (in fact all existing decks while in video)
videoDecks is an array of nbVideos integers, giving the decks number of each deck that has a video available.
OnDrawMultiDeck is call as needed
but the "removed" or "broken" feature make it fail
- nbVideoDecks is wrong in case extra deck was loaded
- videoDecks is null
i.e.: say using 4 decks layout (any other just change initial count)
deck 1 load :
nbVideoDecks == 4 .... OK
videoDecks== null .... bad should point to {1,2,3,4}
deck 2 load
nbVideoDecks == 4 ...OK
videoDecks is null .... bad should point to {1,2,3,4}
deck 42 load
nbVideoDecks == 42 ...BAD should be 5
videoDecks is null .... BAD should point to {1,2,3,4,42}
nbVideoDecks does not have to get the greater number of the open decks
videoDecks have to point to array of open tracks
Implementing OnDrawMultiDeck(int nbVideoDecks, int *videoDecks)
reveals the old BUG about extra decks, the one making people think "loading deck 99 opens 99 decks"
The one making multiDecks transition fail
The one preventing clone_deck to work properly
https://www.virtualdj.com/forums/231448/General_Discussion/Problems_with_deck_numbering__.html
Was working ok for years until middle 2019
https://www.virtualdj.com/forums/198386/Video_Discussion/Mixing_4_Decks_with_4_videos_in_each__Possible_.html
nbVideoDecks number of decks having video (in fact all existing decks while in video)
videoDecks is an array of nbVideos integers, giving the decks number of each deck that has a video available.
OnDrawMultiDeck is call as needed
but the "removed" or "broken" feature make it fail
- nbVideoDecks is wrong in case extra deck was loaded
- videoDecks is null
i.e.: say using 4 decks layout (any other just change initial count)
deck 1 load :
nbVideoDecks == 4 .... OK
videoDecks== null .... bad should point to {1,2,3,4}
deck 2 load
nbVideoDecks == 4 ...OK
videoDecks is null .... bad should point to {1,2,3,4}
deck 42 load
nbVideoDecks == 42 ...BAD should be 5
videoDecks is null .... BAD should point to {1,2,3,4,42}
nbVideoDecks does not have to get the greater number of the open decks
videoDecks have to point to array of open tracks
Posted Mon 13 Apr 20 @ 5:24 pm
Currently videoDecks is indeed always null.
I don't think this is practically much of a problem though, it probably makes more sense when you implement a multi-deck transition to decide which decks to draw and how by yourself.
I don't know what it has to do with any of the other things you mention though...
I don't think this is practically much of a problem though, it probably makes more sense when you implement a multi-deck transition to decide which decks to draw and how by yourself.
I don't know what it has to do with any of the other things you mention though...
Posted Mon 13 Apr 20 @ 5:54 pm