{"action":"opened","issue":{"url":"https://api.github.com/repos/Freescale/gstreamer-imx/issues/48","labels_url":"https://api.github.com/repos/Freescale/gstreamer-imx/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/Freescale/gstreamer-imx/issues/48/comments","events_url":"https://api.github.com/repos/Freescale/gstreamer-imx/issues/48/events","html_url":"https://github.com/Freescale/gstreamer-imx/issues/48","id":97437886,"number":48,"title":"imxvpudec regression","user":{"login":"isaacrj-scio","id":13519885,"avatar_url":"https://avatars.githubusercontent.com/u/13519885?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacrj-scio","html_url":"https://github.com/isaacrj-scio","followers_url":"https://api.github.com/users/isaacrj-scio/followers","following_url":"https://api.github.com/users/isaacrj-scio/following{/other_user}","gists_url":"https://api.github.com/users/isaacrj-scio/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacrj-scio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacrj-scio/subscriptions","organizations_url":"https://api.github.com/users/isaacrj-scio/orgs","repos_url":"https://api.github.com/users/isaacrj-scio/repos","events_url":"https://api.github.com/users/isaacrj-scio/events{/privacy}","received_events_url":"https://api.github.com/users/isaacrj-scio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-27T11:00:56Z","updated_at":"2015-07-27T11:00:56Z","closed_at":null,"body":"Hi!\r\n\r\nI have just updated to 0.11 and I'm having problems with pipelines that did work perfectly with 0.10.2. The issue seems to be related to imxvpudec, when I use this element in any pipeline the pipeline does start and play perfectly, but it fails on stop with these errors:\r\n\r\n`** (gst-launch-1.0:1561): CRITICAL **: gst_video_decoder_negotiate_default: assertion 'state' failed\r\n(gst-launch-1.0:1561): GStreamer-CRITICAL **: gst_buffer_get_meta: assertion 'buffer != NULL' failed\r\n(gst-launch-1.0:1561): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed`\r\n\r\nIn my app, I'm calling gstreamer from Java and when this happens, gstreamer blows the JVM away, killing my main app with it.\r\n\r\nI did some tests on command line swapping elements to try to isolate the issue:\r\n\r\n-This works OK: \r\n`gst-launch-1.0 videotestsrc ! queue ! imxipuvideosink framebuffer=/dev/fb0`\r\n\r\n-This works OK too:\r\n`gst-launch-1.0 videotestsrc ! queue ! x264enc tune=zerolatency speed-preset=superfast bitrate=512 ! queue ! h264parse ! queue ! avh264_dec ! queue ! imxipuvideosink framebuffer=/dev/fb0`\r\n\r\n-This fails on exit\r\n`gst-launch-1.0 videotestsrc ! queue ! x264enc tune=zerolatency speed-preset=superfast bitrate=512 ! queue ! h264parse ! queue ! imxvpudec ! queue ! imxipuvideosink framebuffer=/dev/fb0`\r\n\r\n-This fails on exit too:\r\n`gst-launch-1.0 videotestsrc ! queue ! x264enc tune=zerolatency speed-preset=superfast bitrate=512 ! queue ! h264parse ! queue ! imxvpudec ! queue ! imxv4l2sink device=/dev/video16`\r\n\r\nAll this tests work and exit nicely on 0.10.2.\r\n\r\nThanks!\r\n"}}