Enumerate entities using MEDIA_ENTITY_ID_FLAG_NEXT
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 14 Jun 2010 20:57:45 +0000 (22:57 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 14 Jun 2010 20:57:45 +0000 (22:57 +0200)
commit0c4da2bb2f4d7d3cd2cdea1369374d5b4f7e3b29
treea55b8de0b6c5271062733cb0377732487918ac44
parent25ed35b7c2705f53471118437a538bc9a60701be
Enumerate entities using MEDIA_ENTITY_ID_FLAG_NEXT

Entity IDs don't have to be contiguous. Use the new flag-based
enumeration system instead of looping over consecutive IDs.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
main.c
media.c
media.h