mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2025-01-25 08:08:15 +00:00
Fix gstreamer-0.10 pad iter
This commit is contained in:
parent
f03206c615
commit
d6b94cb94a
1 changed files with 2 additions and 2 deletions
|
@ -211,13 +211,13 @@ std::vector <ElementInfo> GraphManager::GetInfo()
|
||||||
{
|
{
|
||||||
#if GST_VERSION_MAJOR >= 1
|
#if GST_VERSION_MAJOR >= 1
|
||||||
GValue padVal = { 0 };
|
GValue padVal = { 0 };
|
||||||
switch (gst_iterator_next (padItr, &padVal))
|
switch (gst_iterator_next (padItr, &padVal))
|
||||||
{
|
{
|
||||||
case GST_ITERATOR_OK:
|
case GST_ITERATOR_OK:
|
||||||
{
|
{
|
||||||
pad = GST_PAD(g_value_get_object(&padVal));
|
pad = GST_PAD(g_value_get_object(&padVal));
|
||||||
#else
|
#else
|
||||||
switch (gst_iterator_next (iter, (gpointer *)&pad))
|
switch (gst_iterator_next (padItr, (gpointer *)&pad))
|
||||||
{
|
{
|
||||||
case GST_ITERATOR_OK:
|
case GST_ITERATOR_OK:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue