mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-02-16 10:30:47 +00:00
Revert "Add bitstream restrictions to video stream to disable the use of buffers"
This reverts commit 5b6ddd10ec.
Fixup for SPS is now included in limelight-common code
This commit is contained in:
@@ -144,14 +144,6 @@ int nv_omx_decode(const unsigned char* indata, int data_len, int last) {
|
||||
dest += data_len;
|
||||
|
||||
if (last) {
|
||||
if (buf->nFilledLen == 26) {
|
||||
buf->nFilledLen += 2;
|
||||
buf->pBuffer[24] = 0x11;
|
||||
buf->pBuffer[25] = 0xe3;
|
||||
buf->pBuffer[26] = 0x06;
|
||||
buf->pBuffer[27] = 0x50;
|
||||
}
|
||||
|
||||
if(port_settings_changed == 0 &&
|
||||
((data_len > 0 && ilclient_remove_event(video_decode, OMX_EventPortSettingsChanged, 131, 0, 0, 1) == 0) ||
|
||||
(data_len == 0 && ilclient_wait_for_event(video_decode, OMX_EventPortSettingsChanged, 131, 0, 0, 1,
|
||||
|
||||
Reference in New Issue
Block a user