<div dir="ltr">Hi,<div><br></div><div>Could any one answer me?</div><div><br></div><div>I have another question:</div><div><br></div><div>I'm using QT-5.1.1.</div><div><br></div><div>Running a video with a large size,</div>
<div><br></div><div>- Using http protocol, I'm getting the following failures:</div><div><br></div><div>sometimes</div><div><br></div><div>"terminate called after throwing an instance of 'std::bad_alloc'</div>
<div> what(): std::bad_alloc" </div><div><br></div><div>and sometimes</div><div><br></div><div>"<span style="font-family:arial,sans-serif;font-size:13px">GStreamer-ERROR **: gstbuffer.c:542: failed to allocate XXXXXXXXXXX bytes"</span></div>
<div><br></div><div><br></div><div>After debugging I saw that it is streaming, but sometimes it tries to allocate an amount of memory greater than what we have, which will cause the error.</div><div><br></div><div>Is the memory allocated before freed ?</div>
<div>What could be the cause of the issue?</div><div><br></div><div>- Using the file protocol, it is failing with "terminate called after throwing an instance of 'std::bad_alloc'</div><div> what(): std::bad_alloc" </div>
<div><br></div><div>It is failing when the size of the video to play is larger than the amout of memory we have.</div><div>because it is trying to allocate all the size.</div><div><br></div><div>Is it a known issue?</div>
<div><br></div><div>Regards,</div><div>Thouraya.</div></div>