FIX: quvi-get: Use "default" with --print-streams
commitbf88f300f95bf6d2cb1733f07789d57860743876
authorToni Gundogdu <legatvs@gmail.com>
Tue, 23 Apr 2013 13:04:51 +0000 (23 16:04 +0300)
committerToni Gundogdu <legatvs@gmail.com>
Tue, 23 Apr 2013 13:04:57 +0000 (23 16:04 +0300)
treedb62f27dd1dd7593a5088b88b66de91867fb6529
parentd88a32f813c626b68cc0544b6bdcfccaf1e2e6d8
FIX: quvi-get: Use "default" with --print-streams

When there is only one media stream, and that is unnamed by the libquvi
media script, use "default" to identify this stream in the output.

We use "default" to identify the stream for the clarity of the users,
technically the string could be anything, e.g. "--stream foo" would
still select the default stream if there is only one stream available,
or "foo" matched none of the stream IDs.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
src/builtin/get.c