omxvideoenc: fix startup race condition
authorChristian König <christian.koenig@amd.com>
Sat, 1 Mar 2014 17:49:41 +0000 (18:49 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 2 Mar 2014 11:08:09 +0000 (12:08 +0100)
commit4e4f093319e9f28d242f42b4fee3a1ae1157920d
tree0aaeeff7d36f62f9ec521a59ff017024d46db263
parent0a8cfcde877b50a06a64f7ded4807707edeb1cd9
omxvideoenc: fix startup race condition

The reset function shouldn't start the src pad
loop if it wasn't started before.

Signed-off-by: Christian König <christian.koenig@amd.com>
omx/gstomxvideoenc.c