I just updated to PiOmxTextures 5.0.0 Beta for RPI 2.
When changing videos I noticed the application started to crash.
This just happens with 2 of the test videos I use.
The change of videos source was tested under command and also using the signal onStopped, but with the same result. It doesn't matter the amount of videos in between the reproductions of the problematic video, the first one reproduced normal, the second badly and then the app crashes...
10:23:30.619 VERBOSE: �[0;37mStopping OMX clock...�[0m
10:23:30.620 VERBOSE: �[0;37mState changing from STATE_PLAYING to STATE_STOPPED...�[0m
10:23:30.621 VERBOSE: �[0;37mEntering: bool OMX_MediaProcessor::stopInt().�[0m
10:23:30.622 VERBOSE: �[0;37mEntering: bool OMX_MediaProcessor::setFilenameInt(QString).�[0m
10:23:30.622 INFORMATION: �[0;32mCleaning up...�[0m
10:23:30.622 VERBOSE: �[0;37mClosing players...�[0m
10:23:30.738 VERBOSE: �[0;37mMetadata update requested.�[0m
10:23:30.739 INFORMATION: �[0;32mCleanup done.�[0m
10:23:30.740 VERBOSE: �[0;37mOpening file:///home/pi/Videos/720p_CocaCola_Refresh.mov...�[0m
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/pi/Videos/720p_CocaCola_Refresh.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf54.29.104
Duration: 00:00:15.00, start: 0.000000, bitrate: 1512 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1314 kb/s,
25 fps, 25 tbr, 25 tbn, 50 tbc (default)
Metadata:
handler_name : DataHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 191 kb/s (default)
Metadata:
handler_name : DataHandler
10:23:30.877 VERBOSE: �[0;37mCopy metatada...�[0m
10:23:30.878 VERBOSE: �[0;37mMetaData�[0m
10:23:30.878 VERBOSE: �[0;37mKey: major_brand, Value: qt .�[0m
10:23:30.878 VERBOSE: �[0;37mKey: minor_version, Value: 512.�[0m
10:23:30.878 VERBOSE: �[0;37mKey: compatible_brands, Value: qt .�[0m
10:23:30.878 VERBOSE: �[0;37mKey: encoder, Value: Lavf54.29.104.�[0m
10:23:30.878 VERBOSE: �[0;37mInitializing OMX clock...�[0m
10:23:30.878 VERBOSE: �[0;37mMetadata update requested.�[0m
10:23:30.882 VERBOSE: �[0;37mOpening video using OMX...�[0m
10:23:30.882 VERBOSE: �[0;37mUsing deinterlace mode: 0.�[0m
10:23:30.882 VERBOSE: �[0;37mGenerating texture of size (1280, 720).�[0m
10:23:30.882 VERBOSE: �[0;37mReusing allocated textures.�[0m
Video codec omx-h264 width 1280 height 720 profile 100 fps 25.000000
10:23:30.896 VERBOSE: �[0;37mOpening audio using OMX...�[0m
10:23:30.897 VERBOSE: �[0;37mUsing omx:hdmi output device...�[0m
Audio codec aac channels 2 samplerate 44100 bitspersample 16
10:23:30.926 VERBOSE: �[0;37mState changing from STATE_STOPPED to STATE_STOPPED...�[0m
10:23:30.926 VERBOSE: �[0;37mEntering: bool OMX_MediaProcessor::playInt().�[0m
10:23:30.927 VERBOSE: �[0;37mState changing from STATE_STOPPED to STATE_PLAYING...�[0m
10:23:30.927 VERBOSE: �[0;37mStarting thread.�[0m
10:23:30.928 VERBOSE: �[0;37mEntering: bool OMX_MediaProcessor::playInt().�[0m
10:23:30.928 VERBOSE: �[0;37mDecoding thread started.�[0m
V:PortSettingsChanged: [email protected] interlace:0 deinterlace:0 anaglyph:0 par:inf layer:0 alpha:255
10:23:30.960 VERBOSE: �[0;37mCreating buffers for 4 images.�[0m
10:23:30.960 INFORMATION: �[0;32mBuffer created 0x6a712d00�[0m
10:23:30.961 INFORMATION: �[0;32mBuffer created 0x6a712d70�[0m
10:23:30.961 INFORMATION: �[0;32mBuffer created 0x6a712de0�[0m
10:23:30.962 INFORMATION: �[0;32mBuffer created 0x6a712e50�[0m
10:23:30.962 VERBOSE: �[0;37mComponent renderer: 108cbb0.�[0m
10:23:31.173 WARNING: �[0;33mOne frame couldn't be shown.�[0m
10:23:31.214 WARNING: �[0;33mOne frame couldn't be shown.�[0m
10:23:31.253 WARNING: �[0;33mOne frame couldn't be shown.�[0m
...
10:23:46.052 WARNING: �[0;33mOne frame couldn't be shown.�[0m
10:23:46.092 WARNING: �[0;33mOne frame couldn't be shown.�[0m
10:23:46.132 VERBOSE: �[0;37mEOS in FillBufferDone cb.�[0m
10:23:46.133 WARNING: �[0;33mOne frame couldn't be shown.�[0m
10:23:46.142 VERBOSE: �[0;37mStopping OMX clock...�[0m
10:23:46.143 VERBOSE: �[0;37mState changing from STATE_PLAYING to STATE_STOPPED...�[0m
10:23:46.146 VERBOSE: �[0;37mEntering: bool OMX_MediaProcessor::stopInt().�[0m
10:23:46.147 VERBOSE: �[0;37mEntering: bool OMX_MediaProcessor::setFilenameInt(QString).�[0m
10:23:46.147 INFORMATION: �[0;32mCleaning up...�[0m
10:23:46.148 VERBOSE: �[0;37mClosing players...�[0m
10:23:46.166 WARNING: �[0;33mOne frame couldn't be shown.�[0m
10:23:46.168 WARNING: �[0;33mOne frame couldn't be shown.�[0m
10:23:46.268 VERBOSE: �[0;37mMetadata update requested.�[0m
10:23:46.269 INFORMATION: �[0;32mCleanup done.�[0m
10:23:46.270 VERBOSE: �[0;37mOpening file:///home/pi/Videos/720p_CocaCola.mov...�[0m
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/pi/Videos/720p_CocaCola.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf54.29.104
Duration: 00:00:15.05, start:
0.000000, bitrate: 1779 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1582 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default)
Metadata:
handler_name : DataHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 192 kb/s (default)
Metadata:
handler_name : DataHandler
10:23:46.370 VERBOSE: �[0;37mCopy metatada...�[0m
10:23:46.370 VERBOSE: �[0;37mMetaData�[0m
10:23:46.370 VERBOSE: �[0;37mKey: major_brand, Value: qt .�[0m
10:23:46.370 VERBOSE: �[0;37mKey: minor_version, Value: 512.�[0m
10:23:46.370 VERBOSE: �[0;37mKey: compatible_brands, Value: qt .�[0m
10:23:46.370 VERBOSE: �[0;37mKey: encoder, Value: Lavf54.29.104.�[0m
10:23:46.370 VERBOSE: �[0;37mInitializing OMX clock...�[0m
10:23:46.371 VERBOSE: �[0;37mMetadata update requested.�[0m
10:23:46.374 VERBOSE: �[0;37mOpening video using OMX...�[0m
10:23:46.374 VERBOSE: �[0;37mUsing deinterlace mode: 0.�[0m
10:23:46.374 VERBOSE: �[0;37mGenerating texture of size (1280, 720).�[0m
10:23:46.374 VERBOSE: �[0;37mReusing allocated textures.�[0m
Video codec omx-h264 width 1280 height 720 profile 100 fps 25.000000
10:23:46.388 VERBOSE: �[0;37mOpening audio using OMX...�[0m
10:23:46.388 VERBOSE: �[0;37mUsing omx:hdmi output device...�[0m
Audio codec aac channels 2 samplerate 44100 bitspersample 16
10:23:46.416 VERBOSE: �[0;37mState changing from STATE_STOPPED to STATE_STOPPED...�[0m
10:23:46.416 VERBOSE: �[0;37mEntering: bool OMX_MediaProcessor::playInt().�[0m
10:23:46.416 VERBOSE: �[0;37mState changing from STATE_STOPPED to STATE_PLAYING...�[0m
10:23:46.417 VERBOSE: �[0;37mStarting thread.�[0m
10:23:46.418 VERBOSE: �[0;37mEntering: bool OMX_MediaProcessor::playInt().�[0m
10:23:46.418 VERBOSE: �[0;37mDecoding thread started.�[0m
V:PortSettingsChanged: [email protected] interlace:0 deinterlace:0 anaglyph:0 par:inf layer:0 alpha:255
10:23:46.445 VERBOSE: �[0;37mCreating buffers for 4 images.�[0m
10:23:46.446 INFORMATION: �[0;32mBuffer created 0x6a50d1f0�[0m
10:23:46.446 INFORMATION: �[0;32mBuffer created 0x6a55d330�[0m
10:23:46.447 INFORMATION: �[0;32mBuffer created 0x6a51a350�[0m
10:23:46.447 INFORMATION: �[0;32mBuffer created 0x6a557d50�[0m
10:23:46.447 VERBOSE: �[0;37mComponent renderer: 10a7ca0.�[0m
10:23:46.448 WARNING: �[0;33mNo buffer available in any queue.�[0m
QT_Tests: /home/luca/project/pi/pi/piomxtextures_src/omxplayer_lib/OMXVideo.cpp:401: bool COMXVideo::PortSettingsChanged(): Assertion `data' failed.