mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-08-09 20:14:04 +00:00
fix rtsp support for panv2
This commit is contained in:
Binary file not shown.
@@ -82,6 +82,12 @@ int local_sdk_video_set_encode_frame_callback(int ch, void *callback) {
|
||||
fprintf(stderr,"enc func injection save video_encode_cb=0x%x\n", video_encode_cb);
|
||||
callback = video_encode_capture;
|
||||
}
|
||||
/* ch0 callback for panv2 is 0x47accc */
|
||||
if( (ch == 0) && callback == 0x47accc) {
|
||||
video_encode_cb = callback;
|
||||
fprintf(stderr,"enc func injection save video_encode_cb=0x%x\n", video_encode_cb);
|
||||
callback = video_encode_capture;
|
||||
}
|
||||
return real_local_sdk_video_set_encode_frame_callback(ch, callback);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user