Skip to content

python: Port cpp tests and add examples#2

Open
jspanchu wants to merge 5 commits into
wheelfrom
port-cpp-tests-to-python
Open

python: Port cpp tests and add examples#2
jspanchu wants to merge 5 commits into
wheelfrom
port-cpp-tests-to-python

Conversation

@jspanchu

Copy link
Copy Markdown
Member

No description provided.

jspanchu added a commit to Kitware/trame-rca that referenced this pull request Jun 12, 2026
- resizing the frame is sufficient for the encoder to realize that it should shutdown existing session and open a new encoding session.
- there was a bug upstream where setting width/height on the encoder did not bump the MTime of the encoder and so, the frame size was equal to the encoder size and the responsibility of re-initializing the context fell on the MTime logic which was flawed because the encoder did not bump the MTime. As a result, this code needed to manually call `_reset`.
- this has been fixed upstream in Kitware/VTKStreaming#2, so I'm changing the code here.
jspanchu added a commit to Kitware/trame-rca that referenced this pull request Jun 12, 2026
- resizing the frame is sufficient for the encoder to realize that it should shutdown existing session and open a new encoding session.
- there was a bug upstream where setting width/height on the encoder did not bump the MTime of the encoder and so, the frame size was equal to the encoder size and the responsibility of re-initializing the context fell on the MTime logic which was flawed because the encoder did not bump the MTime. As a result, this code needed to manually call `_reset`.
- this has been fixed upstream in Kitware/VTKStreaming#2, so I'm changing the code here.
jspanchu added a commit to Kitware/trame-rca that referenced this pull request Jun 12, 2026
- resizing the frame is sufficient for the encoder to realize that it should shutdown existing session and open a new encoding session.
- there was a bug upstream where setting width/height on the encoder did not bump the MTime of the encoder and so, the frame size was equal to the encoder size and the responsibility of re-initializing the context fell on the MTime logic which was flawed because the encoder did not bump the MTime. As a result, this code needed to manually call `_reset`.
- this has been fixed upstream in Kitware/VTKStreaming#2, so I'm changing the code here.
Justineantoine pushed a commit to Kitware/trame-rca that referenced this pull request Jun 15, 2026
- resizing the frame is sufficient for the encoder to realize that it should shutdown existing session and open a new encoding session.
- there was a bug upstream where setting width/height on the encoder did not bump the MTime of the encoder and so, the frame size was equal to the encoder size and the responsibility of re-initializing the context fell on the MTime logic which was flawed because the encoder did not bump the MTime. As a result, this code needed to manually call `_reset`.
- this has been fixed upstream in Kitware/VTKStreaming#2, so I'm changing the code here.
@jspanchu jspanchu force-pushed the port-cpp-tests-to-python branch from 615f246 to 8b7e64d Compare June 15, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants