{"action":"opened","issue":{"url":"https://api.github.com/repos/carlonluca/pi/issues/31","labels_url":"https://api.github.com/repos/carlonluca/pi/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/carlonluca/pi/issues/31/comments","events_url":"https://api.github.com/repos/carlonluca/pi/issues/31/events","html_url":"https://github.com/carlonluca/pi/issues/31","id":105247527,"number":31,"title":"Can't Restart if stopped at beginning","user":{"login":"Nightmare204","id":4441252,"avatar_url":"https://avatars.githubusercontent.com/u/4441252?v=3","gravatar_id":"","url":"https://api.github.com/users/Nightmare204","html_url":"https://github.com/Nightmare204","followers_url":"https://api.github.com/users/Nightmare204/followers","following_url":"https://api.github.com/users/Nightmare204/following{/other_user}","gists_url":"https://api.github.com/users/Nightmare204/gists{/gist_id}","starred_url":"https://api.github.com/users/Nightmare204/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nightmare204/subscriptions","organizations_url":"https://api.github.com/users/Nightmare204/orgs","repos_url":"https://api.github.com/users/Nightmare204/repos","events_url":"https://api.github.com/users/Nightmare204/events{/privacy}","received_events_url":"https://api.github.com/users/Nightmare204/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-07T17:02:30Z","updated_at":"2015-09-07T17:02:30Z","closed_at":null,"body":"If I start a video (play) and stop it, immediately after it starts the video stop responding to play command.\r\n\r\n```\r\n11:55:51.849 VERBOSE: \u001B[0;37mOpening file:///home/pi/Videos/720p_cocacola.mov...\u001B[0m\r\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/pi/Videos/720p_cocacola.mov':\r\n  Metadata:\r\n    major_brand     : qt  \r\n    minor_version   : 512\r\n    compatible_brands: \r\nqt  \r\n    encoder         : Lavf54.29.104\r\n  Duration: 00:00:11.01, start: 0.000000, bitrate: 1503 kb/s\r\n    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1304 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)\r\n    Metadata:\r\n      handler_name    : DataHandler\r\n    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 191 kb/s (default)\r\n    Metadata:\r\n      handler_name    : DataHandler\r\nQDeclarativeAudio::itemChange\r\nQMediaPlayer::onItemChanged\r\n11:55:51.944 VERBOSE: \u001B[0;37mCopy metatada...\u001B[0m\r\n11:55:51.944 VERBOSE: \u001B[0;37mMetaData\u001B[0m\r\n11:55:51.944 VERBOSE: \u001B[0;37mKey: major_brand, Value: qt  .\u001B[0m\r\n11:55:51.944 VERBOSE: \u001B[0;37mKey: minor_version, Value: 512.\u001B[0m\r\n11:55:51.945 VERBOSE: \u001B[0;37mKey: compatible_brands, Value: qt  .\u001B[0m\r\n11:55:51.945 VERBOSE: \u001B[0;37mKey: encoder, Value: Lavf54.29.104.\u001B[0m\r\n11:55:51.945 VERBOSE: \u001B[0;37mInitializing OMX clock...\u001B[0m\r\n11:55:51.951 VERBOSE: \u001B[0;37mOpening video using OMX...\u001B[0m\r\n11:55:51.951 VERBOSE: \u001B[0;37mUsing deinterlace mode: 0.\u001B[0m\r\n11:55:51.951 VERBOSE: \u001B[0;37mGenerating texture of size (1280, 720).\u001B[0m\r\n11:55:51.952 INFORMATION: \u001B[0;32mInstantiating texture data...\u001B[0m\r\n11:55:51.977 INFORMATION: \u001B[0;32mCreating EGLImageKHR...\u001B[0m\r\n11:55:51.990 VERBOSE: \u001B[0;37mEGL image 1909 created...\u001B[0m\r\n11:55:51.990 VERBOSE: \u001B[0;37mCreating OMX_TextureData...\u001B[0m\r\n11:55:51.990 INFORMATION: \u001B[0;32mInstantiating texture data...\u001B[0m\r\n11:55:52.008 INFORMATION: \u001B[0;32mCreating EGLImageKHR...\u001B[0m\r\n11:55:52.008 VERBOSE: \u001B[0;37mEGL image 1910 created...\u001B[0m\r\n11:55:52.008 VERBOSE: \u001B[0;37mCreating OMX_TextureData...\u001B[0m\r\n11:55:52.009 INFORMATION: \u001B[0;32mInstantiating texture data...\u001B[0m\r\n11:55:52.041 INFORMATION: \u001B[0;32mCreating EGLImageKHR...\u001B[0m\r\n11:55:52.055 VERBOSE: \u001B[0;37mEGL image 1911 created...\u001B[0m\r\n11:55:52.055 VERBOSE: \u001B[0;37mCreating OMX_TextureData...\u001B[0m\r\n11:55:52.056 INFORMATION: \u001B[0;32mInstantiating texture data...\u001B[0m\r\n11:55:52.074 INFORMATION: \u001B[0;32mCreating EGLImageKHR...\u001B[0m\r\n11:55:52.074 VERBOSE: \u001B[0;37mEGL image 1912 created...\u001B[0m\r\n11:55:52.074 VERBOSE: \u001B[0;37mCreating OMX_TextureData...\u001B[0m\r\nVideo codec omx-h264 width 1280 height 720 profile 100 fps 29.970030\r\n11:55:52.095 VERBOSE: \u001B[0;37mOpening audio using OMX...\u001B[0m\r\n11:55:52.096 VERBOSE: \u001B[0;37mUsing omx:both output device...\u001B[0m\r\nAudio codec aac channels 2 samplerate 44100 bitspersample 16\r\n11:55:52.126 VERBOSE: \u001B[0;37mState changing from STATE_INACTIVE to STATE_STOPPED...\u001B[0m\r\n11:55:52.127 VERBOSE: \u001B[0;37mEntering: bool OMX_MediaProcessor::playInt().\u001B[0m\r\n11:55:52.127 VERBOSE: \u001B[0;37mState changing from STATE_STOPPED to STATE_PLAYING...\u001B[0m\r\n11:55:52.128 VERBOSE: \u001B[0;37mStarting thread.\u001B[0m\r\n11:55:52.129 VERBOSE: \u001B[0;37mEntering: bool OMX_MediaProcessor::playInt().\u001B[0m\r\n11:55:52.129 VERBOSE: \u001B[0;37mDecoding thread started.\u001B[0m\r\nV:PortSettingsChanged: 1280x720@29.97 interlace:0 deinterlace:0 anaglyph:0 par:inf layer:0 alpha:255\r\n11:55:52.151 VERBOSE: \u001B[0;37mCreating buffers for 4 images.\u001B[0m\r\n11:55:52.152 INFORMATION: \u001B[0;32mBuffer created 0x6d465d20\u001B[0m\r\n11:55:52.152 INFORMATION: \u001B[0;32mBuffer created 0x6d465e10\u001B[0m\r\n11:55:52.153 INFORMATION: \u001B[0;32mBuffer created 0x6d465e80\u001B[0m\r\n11:55:52.153 INFORMATION: \u001B[0;32mBuffer created 0x6d465d90\u001B[0m\r\n11:55:52.153 VERBOSE: \u001B[0;37mComponent renderer: 1b5b338.\u001B[0m\r\n11:55:52.172 VERBOSE: \u001B[0;37mMetadata update requested.\u001B[0m\r\n11:55:52.172 VERBOSE: \u001B[0;37mSetting up for new textures...\u001B[0m\r\nqml: 07/09 11:55:53 click Stop\r\n11:55:53.507 VERBOSE: \u001B[0;37mEntering: bool OMX_MediaProcessor::stopInt().\u001B[0m\r\n11:55:53.507 VERBOSE: \u001B[0;37mWaiting for the stop command to finish.\u001B[0m\r\n11:55:53.514 VERBOSE: \u001B[0;37mStopping OMX clock...\u001B[0m\r\n11:55:53.517 VERBOSE: \u001B[0;37mState changing from STATE_PLAYING to STATE_STOPPED...\u001B[0m\r\n11:55:53.517 VERBOSE: \u001B[0;37mState changing from STATE_STOPPED to STATE_STOPPED...\u001B[0m\r\n11:55:53.518 INFORMATION: \u001B[0;32mStop command issued.\u001B[0m\r\nqml: 07/09 11:55:54 click Play\r\n11:55:54.097 VERBOSE: \u001B[0;37mEntering: bool OMX_MediaProcessor::playInt().\u001B[0m\r\n11:55:54.097 VERBOSE: \u001B[0;37mState changing from STATE_STOPPED to STATE_PLAYING...\u001B[0m\r\n11:55:54.099 VERBOSE: \u001B[0;37mStarting thread.\u001B[0m\r\n11:55:54.099 VERBOSE: \u001B[0;37mDecoding thread started.\u001B[0m\r\n11:55:54.100 INFORMATION: \u001B[0;32mSeek to: 00:00:00\u001B[0m\r\n11:55:54.117 VERBOSE: \u001B[0;37mSeeked to: 00:00:00\u001B[0m\r\nqml: 07/09 11:55:54 click Stop\r\n11:55:54.736 VERBOSE: \u001B[0;37mEntering: bool OMX_MediaProcessor::stopInt().\u001B[0m\r\n11:55:54.736 VERBOSE: \u001B[0;37mWaiting for the stop command to finish.\u001B[0m\r\n11:55:54.743 VERBOSE: \u001B[0;37mStopping OMX clock...\u001B[0m\r\n11:55:54.745 VERBOSE: \u001B[0;37mState changing from STATE_PLAYING to STATE_STOPPED...\u001B[0m\r\n11:55:54.745 VERBOSE: \u001B[0;37mState changing from STATE_STOPPED to STATE_STOPPED...\u001B[0m\r\n11:55:54.745 INFORMATION: \u001B[0;32mStop command issued.\u001B[0m\r\nqml: 07/09 11:55:57 click Play\r\n11:55:57.313 VERBOSE: \u001B[0;37mEntering: bool OMX_MediaProcessor::playInt().\u001B[0m\r\n11:55:57.313 VERBOSE: \u001B[0;37mState changing from STATE_STOPPED to STATE_PLAYING...\u001B[0m\r\n11:55:57.314 VERBOSE: \u001B[0;37mStarting thread.\u001B[0m\r\n11:55:57.314 VERBOSE: \u001B[0;37mDecoding thread started.\u001B[0m\r\n```\r\nHowever the logs says \"Decoding thread started\" but no video is shown.\r\n\r\nThe only way to get video again is to change the source.\r\n\r\nI know start/stop a video in such a stressful way is not meant to be done, but I found the bug testing different things."}}