[libdvbpsi-devel] examples/dump_pids.c: also print hex value of PID.
Jean-Paul Saman
git at videolan.org
Tue Feb 4 11:22:01 CET 2014
libdvbpsi | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Mon Feb 3 17:18:32 2014 +0100| [932c82e15cd589d0127595ce77acce331f992693] | committer: Jean-Paul Saman
examples/dump_pids.c: also print hex value of PID.
> http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commit;h=932c82e15cd589d0127595ce77acce331f992693
---
examples/dump_pids.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/dump_pids.c b/examples/dump_pids.c
index cd40215..58a4768 100644
--- a/examples/dump_pids.c
+++ b/examples/dump_pids.c
@@ -49,7 +49,7 @@ int main(int argc, char *argv[])
uint32_t pid = ts_getpid(&p[0]);
uint32_t cc = ts_getcc(&p[0]);
n++;
- printf("packet %ld, pid %u, cc %d\n", n, pid, cc );
+ printf("packet %ld, pid %u (0x%x), cc %d\n", n, pid, pid, cc );
}
close(file);
More information about the libdvbpsi-devel
mailing list