Skip to content

Commit 0c3ab9f

Browse files
authored
Libmoq 0.2.13 api refactor fix (#35)
* - libmoq api refactor fix * - Update libmoq version to 0.2.14
1 parent ae7df7a commit 0c3ab9f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CMakePresets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"ENABLE_QT": false,
1515
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
1616
"BUILD_PLUGIN": true,
17-
"MOQ_VERSION": "0.2.13",
17+
"MOQ_VERSION": "0.2.14",
1818
"MOQ_ARCHIVE": "tar.gz"
1919
}
2020
},

src/moq-source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ static void moq_source_decode_frame(struct moq_source *ctx, int32_t frame_id)
788788

789789
// Get frame data
790790
struct moq_frame frame_data;
791-
if (moq_consume_frame_chunk(frame_id, 0, &frame_data) < 0) {
791+
if (moq_consume_frame(frame_id, &frame_data) < 0) {
792792
LOG_ERROR("Failed to get frame data");
793793
pthread_mutex_unlock(&ctx->mutex);
794794
moq_consume_frame_close(frame_id);

0 commit comments

Comments
 (0)