| 369 | } |
| 370 | |
| 371 | void GstPlayer::startGMainLoopThread() |
| 372 | { |
| 373 | mGMainLoop = g_main_loop_new( nullptr, false ); |
| 374 | mGMainLoopThread = std::thread( &GstPlayer::startGMainLoop, this, mGMainLoop ); |
| 375 | } |
| 376 | |
| 377 | void GstPlayer::startGMainLoop( GMainLoop* loop ) |
| 378 | { |