<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hello,</p>
<p><br>
</p>
<p>I have a problem when I was trying to adapt an application using GStreamer 0.1 to 1.0 in python. I describe the issue here:
<a href="https://stackoverflow.com/questions/59231519/gstreamer-1-0-returned-buffer-in-python-doesnt-have-correct-offset-value" class="OWAAutoLink" id="LPlnk909075" previewremoved="true">
https://stackoverflow.com/questions/59231519/gstreamer-1-0-returned-buffer-in-python-doesnt-have-correct-offset-value</a> , basically the problem is that the buffer transmitted to the callback function (called when a frame has been decoded) has an incorrect
 Offset field value. If someone knows what the issue is and could help me I would be very thankful.</p>
<p><br>
</p>
<p>Best regards,</p>
<p>Maxim<br>
</p>
<div id="LPBorder_GT_15759922266240.9914279583310608" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_15759922266160.356003716297539" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" role="presentation" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="ImageCell_15759922266170.975932762398183" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;" colspan="1">
<div id="LPImageContainer_15759922266170.20399894101348226" style="background-color: rgb(255, 255, 255); height: 250px; position: relative; margin: auto; display: table; width: 250px;">
<a id="LPImageAnchor_15759922266180.6070633629083968" style="display: table-cell; text-align: center;" href="https://stackoverflow.com/questions/59231519/gstreamer-1-0-returned-buffer-in-python-doesnt-have-correct-offset-value" target="_blank"><img style="display: inline-block; max-width: 250px; max-height: 250px; height: 250px; width: 250px; border-width: 0px; vertical-align: bottom;" aria-label="Option d’image d’aperçu avec lien sélectionnée. Appuyez deux fois pour ouvrir le lien." id="LPThumbnailImageID_15759922266180.7493356564770612" width="250" height="250" src="https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon@2.png?v=73d79a89bded"></a></div>
</td>
<td id="TextCell_15759922266190.5536237943081574" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_15759922266190.6408951383316415"></div>
<div id="LPTitle_15759922266190.09451462672367472" style="top: 0px; color: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_15759922266200.4239706485702984" style="text-decoration: none;" href="https://stackoverflow.com/questions/59231519/gstreamer-1-0-returned-buffer-in-python-doesnt-have-correct-offset-value" target="_blank">Gstreamer 1.0 returned buffer (in
 python) doesn't have correct offset value - Stack Overflow</a></div>
<div id="LPMetadata_15759922266220.16535224163732198" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
stackoverflow.com</div>
<div id="LPDescription_15759922266230.016011033578906098" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
I am trying to transpose a code using Gstreamer 0.1 to use Gstreamer 1.0. In the old version of the code (using Gstreamer 0.1), a callback function (called when a new frame has been decoded) receiv...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<p></p>
</div>
</body>
</html>