Example #1
0
        //
        // @fn SILVER_ERROR silverGetVideoInfo(SilverPlayer* p, SilverVideoInfo * pVideoInfo)
        // @brief Return extended information on the video sequence currently loaded
        // @param \pPlayer Pointer to player object
        // @param \pVideoInfo - Where state information is stored
        // @return SILVER_SUCCESS on function success, other error code on failure.
        public SILVER_ERROR GetVideoInfo(out SilverVideoInfo VideoInfo)
        {
            VideoInfo = new SilverVideoInfo();
            if (m_Instance == IntPtr.Zero)
            {
                return(SILVER_ERROR.SILVER_NOT_EXIST);
            }
            SILVER_ERROR Result = silverGetVideoInfo(m_Instance, out VideoInfo);

            return(Result);
        }
Example #2
0
 private static extern SILVER_ERROR silverGetVideoInfo(IntPtr s, out SilverVideoInfo VideoInfo);