<div dir="ltr"><div><div>Patch applied, thanks for contributing.<br><br><br></div>Kind regards<br><br></div>Jean-Paul Saman</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 4, 2015 at 9:26 PM, Daniel Kamil Kozar <span dir="ltr"><<a href="mailto:dkk089@gmail.com" target="_blank">dkk089@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">---<br>
 examples/dvbinfo/libdvbpsi.c | 13 +++++++++++++<br>
 1 file changed, 13 insertions(+)<br>
<br>
diff --git a/examples/dvbinfo/libdvbpsi.c b/examples/dvbinfo/libdvbpsi.c<br>
index ae976e9..b1b8fbf 100644<br>
--- a/examples/dvbinfo/libdvbpsi.c<br>
+++ b/examples/dvbinfo/libdvbpsi.c<br>
@@ -961,6 +961,16 @@ static void DumpSmoothingBufferDescriptor(dvbpsi_smoothing_buffer_dr_t *smoothin<br>
 }<br>
<br>
 /*****************************************************************************<br>
+ * DumpIBPDescriptor<br>
+ *****************************************************************************/<br>
+static void DumpIBPDescriptor(dvbpsi_ibp_dr_t *ibp_descriptor)<br>
+{<br>
+    printf("Closed GOP flag: %d \n", ibp_descriptor->b_closed_gop_flag);<br>
+    printf("Identical GOP flag: %d \n", ibp_descriptor->b_identical_gop_flag);<br>
+    printf("Max GOP length: %" PRIu16 " \n", ibp_descriptor->i_max_gop_length);<br>
+}<br>
+<br>
+/*****************************************************************************<br>
  * DumpSystemClockDescriptor<br>
  *****************************************************************************/<br>
 static void DumpSystemClockDescriptor(dvbpsi_system_clock_dr_t* p_clock_descriptor)<br>
@@ -1520,6 +1530,9 @@ static void DumpDescriptors(const char* str, dvbpsi_descriptor_t* p_descriptor)<br>
             case 0x10:<br>
                 DumpSmoothingBufferDescriptor(dvbpsi_DecodeSmoothingBufferDr(p_descriptor));<br>
                 break;<br>
+            case 0x12:<br>
+                DumpIBPDescriptor(dvbpsi_DecodeIBPDr(p_descriptor));<br>
+                break;<br>
             case 0x4c:<br>
                 DumpTimeShiftedServiceDescriptor(dvbpsi_DecodeTimeShiftedServiceDr(p_descriptor));<br>
                 break;<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.3.1<br>
<br>
_______________________________________________<br>
libdvbpsi-devel mailing list<br>
<a href="mailto:libdvbpsi-devel@videolan.org">libdvbpsi-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/libdvbpsi-devel" target="_blank">https://mailman.videolan.org/listinfo/libdvbpsi-devel</a><br>
</font></span></blockquote></div><br></div>