mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 23:42:43 +02:00
armbox: add video/audio pid
Origin commit data
------------------
Branch: master
Commit: f31f21be0c
Author: TangoCash <eric@loxat.de>
Date: 2017-10-27 (Fri, 27 Oct 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -974,13 +974,18 @@ uint64_t cPlayback::GetReadCount()
|
||||
|
||||
int cPlayback::GetAPid(void)
|
||||
{
|
||||
lt_info("%s\n", __func__);
|
||||
return mAudioStream;
|
||||
gint current_audio = 0;
|
||||
g_object_get (m_gst_playbin, "current-audio", ¤t_audio, NULL);
|
||||
lt_info("%s: %d audio\n", __FUNCTION__, current_audio);
|
||||
return current_audio;
|
||||
}
|
||||
|
||||
int cPlayback::GetVPid(void)
|
||||
{
|
||||
return 0;
|
||||
gint current_video = 0;
|
||||
g_object_get (m_gst_playbin, "current-video", ¤t_video, NULL);
|
||||
lt_info("%s: %d video\n", __FUNCTION__, current_video);
|
||||
return current_video;
|
||||
}
|
||||
|
||||
int cPlayback::GetSubtitlePid(void)
|
||||
|
Reference in New Issue
Block a user