)]}' { "commit": "846d79aaf0040ef0a53156acb711a21067044346", "tree": "ac1eb88bc14f31232b2c874aecf1fd9892ad1bde", "parents": [ "4081bb043197e3175f793b184634c41e467dd456" ], "author": { "name": "Michael Tretter", "email": "m.tretter@pengutronix.de", "time": "Tue Jun 26 15:04:39 2018 +0200" }, "committer": { "name": "Nicolas Dufresne", "email": "nicolas.dufresne@collabora.com", "time": "Wed Jun 27 17:04:08 2018 -0400" }, "message": "v4l2videodec: do not call streamon while pool is flushing\n\ngst_v4l2_buffer_pool_flush() executes streamoff for the output, but\nstreamoff-\u003estreamon for the capture of the decoder.\ngst_v4l2_buffer_pool_streamon() on capture assumes that is able to\nresurrect the buffers from the pool, but acquiring buffers fails if the\nbuffer pool is still flushing.\n\nThe decoder needs to stop flushing the pools before calling\ngst_v4l2_buffer_pool_flush() to restart the v4l2 device. Otherwise\nstarting the decoding thread might fail, because there are no buffers in\nthe capture pool.\n\nThis fixes a regression that was introduced in 97985a335c78\n(\"v4l2videodec: Add dynamic resolution change support\").\n\nhttps://bugzilla.gnome.org/show_bug.cgi?id\u003d796681\n", "tree_diff": [ { "type": "modify", "old_id": "d14ad90f38b1922bfb7118e182db234333252f05", "old_mode": 33188, "old_path": "sys/v4l2/gstv4l2videodec.c", "new_id": "a00ccd92a3f63f92a98ab0c74f1893984453948b", "new_mode": 33188, "new_path": "sys/v4l2/gstv4l2videodec.c" } ] }