qt-gstreamer-1.18.patch 988 B

123456789101112131415161718192021222324252627
  1. diff --git a/src/QGst/event.cpp b/src/QGst/event.cpp
  2. index 0530f0b..260a909 100644
  3. --- a/src/QGst/event.cpp
  4. +++ b/src/QGst/event.cpp
  5. @@ -125,7 +125,7 @@ Segment SegmentEvent::segment() const
  6. //********************************************************
  7. TagEventPtr TagEvent::create(const TagList & taglist)
  8. {
  9. - GstEvent * e = gst_event_new_tag(gst_tag_list_copy(taglist));
  10. + GstEvent * e = gst_event_new_tag(gst_tag_list_copy(&taglist));
  11. return TagEventPtr::wrap(e, false);
  12. }
  13. diff --git a/src/QGst/message.cpp b/src/QGst/message.cpp
  14. index ae845cc..1044b88 100644
  15. --- a/src/QGst/message.cpp
  16. +++ b/src/QGst/message.cpp
  17. @@ -157,7 +157,7 @@ QString InfoMessage::debugMessage() const
  18. TagMessagePtr TagMessage::create(const ObjectPtr & source, const TagList & taglist)
  19. {
  20. - GstMessage *m = gst_message_new_tag(source, gst_tag_list_copy(taglist));
  21. + GstMessage *m = gst_message_new_tag(source, gst_tag_list_copy(&taglist));
  22. return TagMessagePtr::wrap(m, false);
  23. }