Well, I finally got Tutorial 1 to compile in MSVC x64. However, only by
adding a static cast in the following line:
// msg = gst_bus_timed_pop_filtered(bus, GST_CLOCK_TIME_NONE,
GST_MESSAGE_ERROR | GST_MESSAGE_EOS);
to:
msg = gst_bus_timed_pop_filtered (bus, GST_CLOCK_TIME_NONE,
static_cast<GstMessageType>(GST_MESSAGE_ERROR | GST_MESSAGE_EOS));
(I couldn't select any language standard earlier than C++11.)
When I execute the program, this is printed to the cmd window:
(gstreamer.exe:444): GStreamer-CRITICAL **: 05:21:27.129:
gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed
(gstreamer.exe:444): GStreamer-CRITICAL **: 05:21:27.130:
gst_element_get_bus: assertion 'GST_IS_ELEMENT (element)' failed
(gstreamer.exe:444): GStreamer-CRITICAL **: 05:21:27.130:
gst_bus_timed_pop_filtered: assertion 'GST_IS_BUS (bus)' failed
(gstreamer.exe:444): GStreamer-CRITICAL **: 05:21:27.130:
gst_object_unref: assertion 'object != NULL' failed
(gstreamer.exe:444): GStreamer-CRITICAL **: 05:21:27.131:
gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed
(gstreamer.exe:444): GStreamer-CRITICAL **: 05:21:27.131:
gst_object_unref: assertion 'object != NULL' failed
C:\Users\Anthony\source\gstreamer\x64\Debug\gstreamer.exe (process 444)
exited with code 0.
Press any key to close this window . . .
Please help. I _really_ want to get this working.
--
Sent from:
http://gstreamer-devel.966125.n4.nabble.com/_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel