player_omx::onVideoEnd. Нow to understand some of the players stopped?


I am using ofxOMXPlayer on my Raspberry Pi.
I can not understand - how to determine which of the players completed the play and called the function onVideoEnd.

    class player_omx : public ofBaseApp, public ofxOMXPlayerListener{


        void setup();
        void update();
        void draw();        

        ofxOMXPlayer omxPlayer01_1; 
        ofxOMXPlayer omxPlayer01_2;
        ofxOMXPlayer omxPlayer2;
        ofxOMXPlayer omxPlayer3;

        void onVideoEnd(ofxOMXPlayerListenerEventData& e);
        void onVideoLoop(ofxOMXPlayerListenerEventData& e){ /*empty*/ };

Someone can help me?