Commit 34d305e9 authored by Jean-Paul Saman's avatar Jean-Paul Saman

examples/dvbinfo: recognize NVOD event.

parent a90add3d
...@@ -1473,6 +1473,9 @@ static void DumpEITEventDescriptors(dvbpsi_eit_event_t *p_eit_event) ...@@ -1473,6 +1473,9 @@ static void DumpEITEventDescriptors(dvbpsi_eit_event_t *p_eit_event)
while (p_event) while (p_event)
{ {
printf("\t | Event id: %d\n", p_event->i_event_id); printf("\t | Event id: %d\n", p_event->i_event_id);
if( p_event->b_nvod )
printf("\t | Start time: Unscheduled Near Video On Demand (NVOD) event\n");
else
printf("\t | Start time: %"PRId64"\n", p_event->i_start_time); printf("\t | Start time: %"PRId64"\n", p_event->i_start_time);
printf("\t | Duration: %d\n", p_event->i_duration); printf("\t | Duration: %d\n", p_event->i_duration);
printf("\t | Running status: %d\n", p_event->i_running_status); printf("\t | Running status: %d\n", p_event->i_running_status);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment