vsp-lib: sort output frames correctly
authorKieran Bingham <kieran.bingham@ideasonboard.com>
Wed, 8 Feb 2017 14:03:56 +0000 (14:03 +0000)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 10 Feb 2017 09:21:18 +0000 (11:21 +0200)
commit8d7af82da291e16c770040c857f6d5cb43590df1
tree2a374f1633616962973807854f32c95429295d5e
parentac88c62c770d74c1dfe136ebc10439f1fd965fd4
vsp-lib: sort output frames correctly

In the event of failed frames, or VSP_KEEP_FRAMES being set, the output
file names do not sort such that the reference frame is next to the
failed frame.

This can make comparing reference frames and the relevant output frames
tedious and difficult.

Re-arrange the output filenames such that the sort order will match the
option parameters correctly, followed by either the reference frame
identifier, or the frame number at the end of the filename string

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
scripts/vsp-lib.sh