Commit daa2f3a
authored
Fix: prevent double notification for frame done in external frame usage (#1180)
Skip notify if ext_frame is used and derive is false (input_fmt !=
transport_fmt).
In this case, the frame done notification is not needed since the
notification is already done after convert callback.
This is to avoid double notification(and double free) for the same
frame.
Fixes #11471 parent e62c41b commit daa2f3a
File tree
3 files changed
+13
-13
lines changed- ecosystem/gstreamer_plugin
- lib/src/st2110/pipeline
3 files changed
+13
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | 539 | | |
549 | 540 | | |
550 | 541 | | |
551 | 542 | | |
552 | | - | |
553 | | - | |
554 | 543 | | |
555 | 544 | | |
556 | 545 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
| 134 | + | |
134 | 135 | | |
| 136 | + | |
135 | 137 | | |
136 | 138 | | |
137 | 139 | | |
| |||
212 | 214 | | |
213 | 215 | | |
214 | 216 | | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
215 | 222 | | |
216 | 223 | | |
217 | 224 | | |
| |||
602 | 609 | | |
603 | 610 | | |
604 | 611 | | |
| 612 | + | |
605 | 613 | | |
606 | 614 | | |
607 | 615 | | |
| |||
748 | 756 | | |
749 | 757 | | |
750 | 758 | | |
751 | | - | |
| 759 | + | |
752 | 760 | | |
| 761 | + | |
| 762 | + | |
753 | 763 | | |
754 | 764 | | |
755 | 765 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
0 commit comments