Commit 1954564
authored
Fix: GStreamer plugins wrong memory buffer size (#1167)
In the st20tx and st30tx GStreamer plugins, the memory
buffer size was incorrectly taken from the
GstBuffer size which includes the combined size
of all GstMemory elements in the buffer, as we
Allow multiple GstMemory elements in the buffer
This would result in a wrong buffer parsing.
Fix via taking the size from the memory map.1 parent 763f0b6 commit 1954564
File tree
2 files changed
+10
-8
lines changed- ecosystem/gstreamer_plugin
2 files changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
461 | | - | |
| 460 | + | |
462 | 461 | | |
463 | 462 | | |
464 | 463 | | |
| |||
481 | 480 | | |
482 | 481 | | |
483 | 482 | | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | 483 | | |
490 | 484 | | |
491 | 485 | | |
492 | 486 | | |
493 | 487 | | |
494 | 488 | | |
495 | 489 | | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
496 | 497 | | |
497 | 498 | | |
498 | 499 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
530 | | - | |
531 | 530 | | |
532 | 531 | | |
533 | 532 | | |
534 | 533 | | |
535 | 534 | | |
536 | 535 | | |
537 | 536 | | |
| 537 | + | |
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
| |||
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
| 569 | + | |
569 | 570 | | |
570 | 571 | | |
571 | 572 | | |
| |||
0 commit comments