vlc-ios: sps pps detection failed
Posted: 02 Jul 2016 05:52
play mkv or flv, applicationDidEnterBackground->applicationDidBecomeActive,
issue code: i_ret = h264_get_spspps(p_buf, i_buf, &p_sps_ab, &i_sps_absize, &p_pps_ab, &i_pps_absize, &p_ext_ab, &i_ext_absize); if(p_alloc_buf) free(p_alloc_buf); if (i_ret != VLC_SUCCESS) { msg_Warn(p_dec, "sps pps detection failed"); return VLC_EGENERIC; }
then xcode show: sps pps detection failed sps pps detection failed sps pps detection failed sps pps detection failed
so no picture showed
issue code: i_ret = h264_get_spspps(p_buf, i_buf, &p_sps_ab, &i_sps_absize, &p_pps_ab, &i_pps_absize, &p_ext_ab, &i_ext_absize); if(p_alloc_buf) free(p_alloc_buf); if (i_ret != VLC_SUCCESS) { msg_Warn(p_dec, "sps pps detection failed"); return VLC_EGENERIC; }
then xcode show: sps pps detection failed sps pps detection failed sps pps detection failed sps pps detection failed
so no picture showed