omxvideodec: simplify _find_nearest_frame
authorChristian König <christian.koenig@amd.com>
Thu, 5 Sep 2013 08:23:39 +0000 (02:23 -0600)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 3 Mar 2014 19:12:51 +0000 (20:12 +0100)
commit2cfe70ed5d09af708a947321dba23f9b3e9de9c8
tree372e5778cfcc1b45691badf27b00fe656491dbe5
parentbf0d2614c37491e145c03687691049b92838ea74
omxvideodec: simplify _find_nearest_frame

No need to make it more complicated and error prone than
necessary. Also give the function a gst_omx_video_dec prefix
to distinct it from the encoder function.

https://bugzilla.gnome.org/show_bug.cgi?id=724236
omx/gstomxvideodec.c