56 * never forwarded to the application. |
56 * never forwarded to the application. |
57 * @GST_MESSAGE_CLOCK_LOST: The current clock as selected by the pipeline became |
57 * @GST_MESSAGE_CLOCK_LOST: The current clock as selected by the pipeline became |
58 * unusable. The pipeline will select a new clock on |
58 * unusable. The pipeline will select a new clock on |
59 * the next PLAYING state change. |
59 * the next PLAYING state change. |
60 * @GST_MESSAGE_NEW_CLOCK: a new clock was selected in the pipeline. |
60 * @GST_MESSAGE_NEW_CLOCK: a new clock was selected in the pipeline. |
61 * @GST_MESSAGE_STRUCTURE_CHANGE: the structure of the pipeline changed. Not |
61 * @GST_MESSAGE_STRUCTURE_CHANGE: the structure of the pipeline changed. This |
62 * implemented yet. |
62 * message is used internally and never forwarded to the application. |
63 * @GST_MESSAGE_STREAM_STATUS: status about a stream, emitted when it starts, |
63 * @GST_MESSAGE_STREAM_STATUS: status about a stream, emitted when it starts, |
64 * stops, errors, etc.. Not implemented yet. |
64 * stops, errors, etc.. Not implemented yet. |
65 * @GST_MESSAGE_APPLICATION: message posted by the application, possibly |
65 * @GST_MESSAGE_APPLICATION: message posted by the application, possibly |
66 * via an application-specific element. |
66 * via an application-specific element. |
67 * @GST_MESSAGE_ELEMENT: element-specific message, see the specific element's |
67 * @GST_MESSAGE_ELEMENT: element-specific message, see the specific element's |
176 * @message: a #GstMessage |
182 * @message: a #GstMessage |
177 * |
183 * |
178 * Get the object that posted @message. |
184 * Get the object that posted @message. |
179 */ |
185 */ |
180 #define GST_MESSAGE_SRC(message) (GST_MESSAGE(message)->src) |
186 #define GST_MESSAGE_SRC(message) (GST_MESSAGE(message)->src) |
|
187 /** |
|
188 * GST_MESSAGE_SRC_NAME: |
|
189 * @message: a #GstMessage |
|
190 * |
|
191 * Get the name of the object that posted @message. Returns "(NULL)" if |
|
192 * the message has no source object set. |
|
193 * |
|
194 * Since: 0.10.24 |
|
195 */ |
|
196 #define GST_MESSAGE_SRC_NAME(message) (GST_MESSAGE_SRC(message) ? \ |
|
197 GST_OBJECT_NAME (GST_MESSAGE_SRC(message)) : "(NULL)") |
|
198 |
|
199 /** |
|
200 * GstStructureChangeType: |
|
201 * @GST_STRUCTURE_CHANGE_TYPE_PAD_LINK: Pad linking is starting or done. |
|
202 * @GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK: Pad unlinking is starting or done. |
|
203 * |
|
204 * The type of a #GstMessageStructureChange. |
|
205 * |
|
206 * Since: 0.10.22 |
|
207 */ |
|
208 typedef enum { |
|
209 GST_STRUCTURE_CHANGE_TYPE_PAD_LINK = 0, |
|
210 GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK = 1 |
|
211 } GstStructureChangeType; |
|
212 |
|
213 /** |
|
214 * GstStreamStatusType: |
|
215 * @GST_STREAM_STATUS_TYPE_CREATE: A new thread need to be created. |
|
216 * @GST_STREAM_STATUS_TYPE_ENTER: a thread entered its loop function |
|
217 * @GST_STREAM_STATUS_TYPE_LEAVE: a thread left its loop function |
|
218 * @GST_STREAM_STATUS_TYPE_DESTROY: a thread is destroyed |
|
219 * @GST_STREAM_STATUS_TYPE_START: a thread is started |
|
220 * @GST_STREAM_STATUS_TYPE_PAUSE: a thread is paused |
|
221 * @GST_STREAM_STATUS_TYPE_STOP: a thread is stopped |
|
222 * |
|
223 * The type of a #GstMessageStreamStatus. The stream status messages inform the |
|
224 * application of new streaming threads and their status. |
|
225 * |
|
226 * Since: 0.10.24 |
|
227 */ |
|
228 typedef enum { |
|
229 GST_STREAM_STATUS_TYPE_CREATE = 0, |
|
230 GST_STREAM_STATUS_TYPE_ENTER = 1, |
|
231 GST_STREAM_STATUS_TYPE_LEAVE = 2, |
|
232 GST_STREAM_STATUS_TYPE_DESTROY = 3, |
|
233 |
|
234 GST_STREAM_STATUS_TYPE_START = 8, |
|
235 GST_STREAM_STATUS_TYPE_PAUSE = 9, |
|
236 GST_STREAM_STATUS_TYPE_STOP = 10 |
|
237 } GstStreamStatusType; |
181 |
238 |
182 /** |
239 /** |
183 * GstMessage: |
240 * GstMessage: |
184 * @mini_object: the parent structure |
241 * @mini_object: the parent structure |
185 * @type: the #GstMessageType of the message |
242 * @type: the #GstMessageType of the message |
246 #endif |
309 #endif |
247 |
310 |
248 static inline GstMessage * |
311 static inline GstMessage * |
249 gst_message_ref (GstMessage * msg) |
312 gst_message_ref (GstMessage * msg) |
250 { |
313 { |
251 /* not using a macro here because gcc-4.1 will complain |
|
252 * if the return value isn't used (because of the cast) */ |
|
253 return (GstMessage *) gst_mini_object_ref (GST_MINI_OBJECT (msg)); |
314 return (GstMessage *) gst_mini_object_ref (GST_MINI_OBJECT (msg)); |
254 } |
315 } |
255 |
316 |
256 /** |
317 /** |
257 * gst_message_unref: |
318 * gst_message_unref: |
258 * @msg: the message to unref |
319 * @msg: the message to unref |
259 * |
320 * |
260 * Convenience macro to decrease the reference count of the message, possibly |
321 * Convenience macro to decrease the reference count of the message, possibly |
261 * freeing it. |
322 * freeing it. |
262 */ |
323 */ |
263 #define gst_message_unref(msg) gst_mini_object_unref (GST_MINI_OBJECT (msg)) |
324 #ifdef _FOOL_GTK_DOC_ |
|
325 G_INLINE_FUNC void gst_message_unref (GstMessage * msg); |
|
326 #endif |
|
327 |
|
328 static inline void |
|
329 gst_message_unref (GstMessage * msg) |
|
330 { |
|
331 gst_mini_object_unref (GST_MINI_OBJECT_CAST (msg)); |
|
332 } |
|
333 |
264 /* copy message */ |
334 /* copy message */ |
265 /** |
335 /** |
266 * gst_message_copy: |
336 * gst_message_copy: |
267 * @msg: the message to copy |
337 * @msg: the message to copy |
268 * |
338 * |
269 * Creates a copy of the message. Returns a copy of the message. |
339 * Creates a copy of the message. Returns a copy of the message. |
270 * |
340 * |
|
341 * Returns: a new copy of @msg. |
|
342 * |
271 * MT safe |
343 * MT safe |
272 */ |
344 */ |
273 #define gst_message_copy(msg) GST_MESSAGE (gst_mini_object_copy (GST_MINI_OBJECT (msg))) |
345 #ifdef _FOOL_GTK_DOC_ |
|
346 G_INLINE_FUNC GstMessage * gst_message_copy (const GstMessage * msg); |
|
347 #endif |
|
348 |
|
349 static inline GstMessage * |
|
350 gst_message_copy (const GstMessage * msg) |
|
351 { |
|
352 return GST_MESSAGE (gst_mini_object_copy (GST_MINI_OBJECT_CAST (msg))); |
|
353 } |
|
354 |
274 /** |
355 /** |
275 * gst_message_make_writable: |
356 * gst_message_make_writable: |
276 * @msg: the message to make writable |
357 * @msg: the message to make writable |
277 * |
358 * |
278 * Checks if a message is writable. If not, a writable copy is made and |
359 * Checks if a message is writable. If not, a writable copy is made and |
280 * |
361 * |
281 * MT safe |
362 * MT safe |
282 */ |
363 */ |
283 #define gst_message_make_writable(msg) GST_MESSAGE (gst_mini_object_make_writable (GST_MINI_OBJECT (msg))) |
364 #define gst_message_make_writable(msg) GST_MESSAGE (gst_mini_object_make_writable (GST_MINI_OBJECT (msg))) |
284 |
365 |
|
366 /* identifiers for events and messages */ |
|
367 #ifdef __SYMBIAN32__ |
|
368 IMPORT_C |
|
369 #endif |
|
370 |
|
371 guint32 gst_message_get_seqnum (GstMessage *message); |
|
372 #ifdef __SYMBIAN32__ |
|
373 IMPORT_C |
|
374 #endif |
|
375 |
|
376 void gst_message_set_seqnum (GstMessage *message, guint32 seqnum); |
|
377 |
|
378 /* EOS */ |
|
379 #ifdef __SYMBIAN32__ |
|
380 IMPORT_C |
|
381 #endif |
|
382 |
285 GstMessage * gst_message_new_eos (GstObject * src); |
383 GstMessage * gst_message_new_eos (GstObject * src); |
286 #ifdef __SYMBIAN32__ |
384 |
287 IMPORT_C |
385 /* ERROR */ |
288 #endif |
386 #ifdef __SYMBIAN32__ |
289 |
387 IMPORT_C |
290 GstMessage * gst_message_new_error (GstObject * src, GError * error, gchar * debug); |
388 #endif |
291 #ifdef __SYMBIAN32__ |
389 |
292 IMPORT_C |
390 |
293 #endif |
391 GstMessage * gst_message_new_error (GstObject * src, GError * error, const gchar * debug); |
294 |
392 #ifdef __SYMBIAN32__ |
295 GstMessage * gst_message_new_warning (GstObject * src, GError * error, gchar * debug); |
393 IMPORT_C |
296 #ifdef __SYMBIAN32__ |
394 #endif |
297 IMPORT_C |
395 |
298 #endif |
396 void gst_message_parse_error (GstMessage *message, GError **gerror, gchar **debug); |
299 |
397 |
300 GstMessage * gst_message_new_info (GstObject * src, GError * error, gchar * debug); |
398 /* WARNING */ |
|
399 #ifdef __SYMBIAN32__ |
|
400 IMPORT_C |
|
401 #endif |
|
402 |
|
403 GstMessage * gst_message_new_warning (GstObject * src, GError * error, const gchar * debug); |
|
404 #ifdef __SYMBIAN32__ |
|
405 IMPORT_C |
|
406 #endif |
|
407 |
|
408 void gst_message_parse_warning (GstMessage *message, GError **gerror, gchar **debug); |
|
409 |
|
410 /* INFO */ |
|
411 #ifdef __SYMBIAN32__ |
|
412 IMPORT_C |
|
413 #endif |
|
414 |
|
415 GstMessage * gst_message_new_info (GstObject * src, GError * error, const gchar * debug); |
|
416 #ifdef __SYMBIAN32__ |
|
417 IMPORT_C |
|
418 #endif |
|
419 |
|
420 void gst_message_parse_info (GstMessage *message, GError **gerror, gchar **debug); |
|
421 |
|
422 /* TAG */ |
301 #ifdef __SYMBIAN32__ |
423 #ifdef __SYMBIAN32__ |
302 IMPORT_C |
424 IMPORT_C |
303 #endif |
425 #endif |
304 |
426 |
305 GstMessage * gst_message_new_tag (GstObject * src, GstTagList * tag_list); |
427 GstMessage * gst_message_new_tag (GstObject * src, GstTagList * tag_list); |
306 #ifdef __SYMBIAN32__ |
428 #ifdef __SYMBIAN32__ |
307 IMPORT_C |
429 IMPORT_C |
308 #endif |
430 #endif |
309 |
431 |
310 GstMessage * gst_message_new_buffering (GstObject * src, gint percent); |
432 GstMessage * gst_message_new_tag_full (GstObject * src, GstPad *pad, GstTagList * tag_list); |
|
433 #ifdef __SYMBIAN32__ |
|
434 IMPORT_C |
|
435 #endif |
|
436 |
|
437 void gst_message_parse_tag (GstMessage *message, GstTagList **tag_list); |
|
438 #ifdef __SYMBIAN32__ |
|
439 IMPORT_C |
|
440 #endif |
|
441 |
|
442 void gst_message_parse_tag_full (GstMessage *message, GstPad **pad, GstTagList **tag_list); |
|
443 |
|
444 /* BUFFERING */ |
|
445 #ifdef __SYMBIAN32__ |
|
446 IMPORT_C |
|
447 #endif |
|
448 |
|
449 GstMessage * gst_message_new_buffering (GstObject * src, gint percent); |
|
450 #ifdef __SYMBIAN32__ |
|
451 IMPORT_C |
|
452 #endif |
|
453 |
|
454 void gst_message_parse_buffering (GstMessage *message, gint *percent); |
|
455 #ifdef __SYMBIAN32__ |
|
456 IMPORT_C |
|
457 #endif |
|
458 |
|
459 void gst_message_set_buffering_stats (GstMessage *message, GstBufferingMode mode, |
|
460 gint avg_in, gint avg_out, |
|
461 gint64 buffering_left); |
|
462 #ifdef __SYMBIAN32__ |
|
463 IMPORT_C |
|
464 #endif |
|
465 |
|
466 void gst_message_parse_buffering_stats (GstMessage *message, GstBufferingMode *mode, |
|
467 gint *avg_in, gint *avg_out, |
|
468 gint64 *buffering_left); |
|
469 |
|
470 /* STATE_CHANGED */ |
311 #ifdef __SYMBIAN32__ |
471 #ifdef __SYMBIAN32__ |
312 IMPORT_C |
472 IMPORT_C |
313 #endif |
473 #endif |
314 |
474 |
315 GstMessage * gst_message_new_state_changed (GstObject * src, GstState oldstate, |
475 GstMessage * gst_message_new_state_changed (GstObject * src, GstState oldstate, |
316 GstState newstate, GstState pending); |
476 GstState newstate, GstState pending); |
317 #ifdef __SYMBIAN32__ |
477 #ifdef __SYMBIAN32__ |
318 IMPORT_C |
478 IMPORT_C |
319 #endif |
479 #endif |
320 |
480 |
|
481 void gst_message_parse_state_changed (GstMessage *message, GstState *oldstate, |
|
482 GstState *newstate, GstState *pending); |
|
483 |
|
484 /* STATE_DIRTY */ |
|
485 #ifdef __SYMBIAN32__ |
|
486 IMPORT_C |
|
487 #endif |
|
488 |
321 GstMessage * gst_message_new_state_dirty (GstObject * src); |
489 GstMessage * gst_message_new_state_dirty (GstObject * src); |
|
490 |
|
491 /* STEP_DONE */ |
|
492 #ifdef __SYMBIAN32__ |
|
493 IMPORT_C |
|
494 #endif |
|
495 |
|
496 GstMessage * gst_message_new_step_done (GstObject * src, GstFormat format, guint64 amount, |
|
497 gdouble rate, gboolean flush, gboolean intermediate, |
|
498 guint64 duration, gboolean eos); |
|
499 #ifdef __SYMBIAN32__ |
|
500 IMPORT_C |
|
501 #endif |
|
502 |
|
503 void gst_message_parse_step_done (GstMessage * message, GstFormat *format, guint64 *amount, |
|
504 gdouble *rate, gboolean *flush, gboolean *intermediate, |
|
505 guint64 *duration, gboolean *eos); |
|
506 /* CLOCK_PROVIDE */ |
322 #ifdef __SYMBIAN32__ |
507 #ifdef __SYMBIAN32__ |
323 IMPORT_C |
508 IMPORT_C |
324 #endif |
509 #endif |
325 |
510 |
326 GstMessage * gst_message_new_clock_provide (GstObject * src, GstClock *clock, gboolean ready); |
511 GstMessage * gst_message_new_clock_provide (GstObject * src, GstClock *clock, gboolean ready); |
327 #ifdef __SYMBIAN32__ |
512 #ifdef __SYMBIAN32__ |
328 IMPORT_C |
513 IMPORT_C |
329 #endif |
514 #endif |
330 |
515 |
|
516 void gst_message_parse_clock_provide (GstMessage *message, GstClock **clock, |
|
517 gboolean *ready); |
|
518 |
|
519 /* CLOCK_LOST */ |
|
520 #ifdef __SYMBIAN32__ |
|
521 IMPORT_C |
|
522 #endif |
|
523 |
331 GstMessage * gst_message_new_clock_lost (GstObject * src, GstClock *clock); |
524 GstMessage * gst_message_new_clock_lost (GstObject * src, GstClock *clock); |
332 #ifdef __SYMBIAN32__ |
525 #ifdef __SYMBIAN32__ |
333 IMPORT_C |
526 IMPORT_C |
334 #endif |
527 #endif |
335 |
528 |
|
529 void gst_message_parse_clock_lost (GstMessage *message, GstClock **clock); |
|
530 |
|
531 /* NEW_CLOCK */ |
|
532 #ifdef __SYMBIAN32__ |
|
533 IMPORT_C |
|
534 #endif |
|
535 |
336 GstMessage * gst_message_new_new_clock (GstObject * src, GstClock *clock); |
536 GstMessage * gst_message_new_new_clock (GstObject * src, GstClock *clock); |
337 #ifdef __SYMBIAN32__ |
537 #ifdef __SYMBIAN32__ |
338 IMPORT_C |
538 IMPORT_C |
339 #endif |
539 #endif |
340 |
540 |
|
541 void gst_message_parse_new_clock (GstMessage *message, GstClock **clock); |
|
542 |
|
543 /* APPLICATION */ |
|
544 #ifdef __SYMBIAN32__ |
|
545 IMPORT_C |
|
546 #endif |
|
547 |
341 GstMessage * gst_message_new_application (GstObject * src, GstStructure * structure); |
548 GstMessage * gst_message_new_application (GstObject * src, GstStructure * structure); |
|
549 |
|
550 /* ELEMENT */ |
342 #ifdef __SYMBIAN32__ |
551 #ifdef __SYMBIAN32__ |
343 IMPORT_C |
552 IMPORT_C |
344 #endif |
553 #endif |
345 |
554 |
346 GstMessage * gst_message_new_element (GstObject * src, GstStructure * structure); |
555 GstMessage * gst_message_new_element (GstObject * src, GstStructure * structure); |
|
556 |
|
557 /* SEGMENT_START */ |
347 #ifdef __SYMBIAN32__ |
558 #ifdef __SYMBIAN32__ |
348 IMPORT_C |
559 IMPORT_C |
349 #endif |
560 #endif |
350 |
561 |
351 GstMessage * gst_message_new_segment_start (GstObject * src, GstFormat format, gint64 position); |
562 GstMessage * gst_message_new_segment_start (GstObject * src, GstFormat format, gint64 position); |
352 #ifdef __SYMBIAN32__ |
563 #ifdef __SYMBIAN32__ |
353 IMPORT_C |
564 IMPORT_C |
354 #endif |
565 #endif |
355 |
566 |
|
567 void gst_message_parse_segment_start (GstMessage *message, GstFormat *format, |
|
568 gint64 *position); |
|
569 |
|
570 /* SEGMENT_DONE */ |
|
571 #ifdef __SYMBIAN32__ |
|
572 IMPORT_C |
|
573 #endif |
|
574 |
356 GstMessage * gst_message_new_segment_done (GstObject * src, GstFormat format, gint64 position); |
575 GstMessage * gst_message_new_segment_done (GstObject * src, GstFormat format, gint64 position); |
357 #ifdef __SYMBIAN32__ |
576 #ifdef __SYMBIAN32__ |
358 IMPORT_C |
577 IMPORT_C |
359 #endif |
578 #endif |
360 |
579 |
|
580 void gst_message_parse_segment_done (GstMessage *message, GstFormat *format, |
|
581 gint64 *position); |
|
582 |
|
583 /* DURATION */ |
|
584 #ifdef __SYMBIAN32__ |
|
585 IMPORT_C |
|
586 #endif |
|
587 |
361 GstMessage * gst_message_new_duration (GstObject * src, GstFormat format, gint64 duration); |
588 GstMessage * gst_message_new_duration (GstObject * src, GstFormat format, gint64 duration); |
362 #ifdef __SYMBIAN32__ |
589 #ifdef __SYMBIAN32__ |
363 IMPORT_C |
590 IMPORT_C |
364 #endif |
591 #endif |
365 |
592 |
|
593 void gst_message_parse_duration (GstMessage *message, GstFormat *format, |
|
594 gint64 *duration); |
|
595 |
|
596 /* LATENCY */ |
|
597 #ifdef __SYMBIAN32__ |
|
598 IMPORT_C |
|
599 #endif |
|
600 |
|
601 GstMessage * gst_message_new_latency (GstObject * src); |
|
602 |
|
603 /* ASYNC_START */ |
|
604 #ifdef __SYMBIAN32__ |
|
605 IMPORT_C |
|
606 #endif |
|
607 |
366 GstMessage * gst_message_new_async_start (GstObject * src, gboolean new_base_time); |
608 GstMessage * gst_message_new_async_start (GstObject * src, gboolean new_base_time); |
367 #ifdef __SYMBIAN32__ |
609 #ifdef __SYMBIAN32__ |
368 IMPORT_C |
610 IMPORT_C |
369 #endif |
611 #endif |
370 |
612 |
|
613 void gst_message_parse_async_start (GstMessage *message, gboolean *new_base_time); |
|
614 |
|
615 /* ASYNC_DONE */ |
|
616 #ifdef __SYMBIAN32__ |
|
617 IMPORT_C |
|
618 #endif |
|
619 |
371 GstMessage * gst_message_new_async_done (GstObject * src); |
620 GstMessage * gst_message_new_async_done (GstObject * src); |
372 #ifdef __SYMBIAN32__ |
621 |
373 IMPORT_C |
622 /* STRUCTURE CHANGE */ |
374 #endif |
623 #ifdef __SYMBIAN32__ |
375 |
624 IMPORT_C |
376 GstMessage * gst_message_new_latency (GstObject * src); |
625 #endif |
|
626 |
|
627 GstMessage * gst_message_new_structure_change (GstObject * src, GstStructureChangeType type, |
|
628 GstElement *owner, gboolean busy); |
|
629 #ifdef __SYMBIAN32__ |
|
630 IMPORT_C |
|
631 #endif |
|
632 |
|
633 void gst_message_parse_structure_change (GstMessage *message, GstStructureChangeType *type, |
|
634 GstElement **owner, gboolean *busy); |
|
635 |
|
636 /* STREAM STATUS */ |
|
637 #ifdef __SYMBIAN32__ |
|
638 IMPORT_C |
|
639 #endif |
|
640 |
|
641 GstMessage * gst_message_new_stream_status (GstObject * src, GstStreamStatusType type, |
|
642 GstElement *owner); |
|
643 #ifdef __SYMBIAN32__ |
|
644 IMPORT_C |
|
645 #endif |
|
646 |
|
647 void gst_message_parse_stream_status (GstMessage *message, GstStreamStatusType *type, |
|
648 GstElement **owner); |
|
649 #ifdef __SYMBIAN32__ |
|
650 IMPORT_C |
|
651 #endif |
|
652 |
|
653 void gst_message_set_stream_status_object (GstMessage *message, const GValue *object); |
|
654 #ifdef __SYMBIAN32__ |
|
655 IMPORT_C |
|
656 #endif |
|
657 |
|
658 const GValue * gst_message_get_stream_status_object (GstMessage *message); |
|
659 |
|
660 /* REQUEST_STATE */ |
|
661 #ifdef __SYMBIAN32__ |
|
662 IMPORT_C |
|
663 #endif |
|
664 |
|
665 GstMessage * gst_message_new_request_state (GstObject * src, GstState state); |
|
666 #ifdef __SYMBIAN32__ |
|
667 IMPORT_C |
|
668 #endif |
|
669 |
|
670 void gst_message_parse_request_state (GstMessage * message, GstState *state); |
|
671 |
|
672 /* STEP_START */ |
|
673 #ifdef __SYMBIAN32__ |
|
674 IMPORT_C |
|
675 #endif |
|
676 |
|
677 GstMessage * gst_message_new_step_start (GstObject * src, gboolean active, GstFormat format, |
|
678 guint64 amount, gdouble rate, gboolean flush, |
|
679 gboolean intermediate); |
|
680 #ifdef __SYMBIAN32__ |
|
681 IMPORT_C |
|
682 #endif |
|
683 |
|
684 void gst_message_parse_step_start (GstMessage * message, gboolean *active, GstFormat *format, |
|
685 guint64 *amount, gdouble *rate, gboolean *flush, |
|
686 gboolean *intermediate); |
|
687 |
|
688 /* custom messages */ |
377 #ifdef __SYMBIAN32__ |
689 #ifdef __SYMBIAN32__ |
378 IMPORT_C |
690 IMPORT_C |
379 #endif |
691 #endif |
380 |
692 |
381 GstMessage * gst_message_new_custom (GstMessageType type, |
693 GstMessage * gst_message_new_custom (GstMessageType type, |
383 GstStructure * structure); |
695 GstStructure * structure); |
384 #ifdef __SYMBIAN32__ |
696 #ifdef __SYMBIAN32__ |
385 IMPORT_C |
697 IMPORT_C |
386 #endif |
698 #endif |
387 |
699 |
388 |
|
389 void gst_message_parse_error (GstMessage *message, GError **gerror, gchar **debug); |
|
390 #ifdef __SYMBIAN32__ |
|
391 IMPORT_C |
|
392 #endif |
|
393 |
|
394 void gst_message_parse_warning (GstMessage *message, GError **gerror, gchar **debug); |
|
395 #ifdef __SYMBIAN32__ |
|
396 IMPORT_C |
|
397 #endif |
|
398 |
|
399 void gst_message_parse_info (GstMessage *message, GError **gerror, gchar **debug); |
|
400 #ifdef __SYMBIAN32__ |
|
401 IMPORT_C |
|
402 #endif |
|
403 |
|
404 void gst_message_parse_tag (GstMessage *message, GstTagList **tag_list); |
|
405 #ifdef __SYMBIAN32__ |
|
406 IMPORT_C |
|
407 #endif |
|
408 |
|
409 void gst_message_parse_buffering (GstMessage *message, gint *percent); |
|
410 #ifdef __SYMBIAN32__ |
|
411 IMPORT_C |
|
412 #endif |
|
413 |
|
414 void gst_message_parse_state_changed (GstMessage *message, GstState *oldstate, |
|
415 GstState *newstate, GstState *pending); |
|
416 #ifdef __SYMBIAN32__ |
|
417 IMPORT_C |
|
418 #endif |
|
419 |
|
420 void gst_message_parse_clock_provide (GstMessage *message, GstClock **clock, gboolean *ready); |
|
421 #ifdef __SYMBIAN32__ |
|
422 IMPORT_C |
|
423 #endif |
|
424 |
|
425 void gst_message_parse_clock_lost (GstMessage *message, GstClock **clock); |
|
426 #ifdef __SYMBIAN32__ |
|
427 IMPORT_C |
|
428 #endif |
|
429 |
|
430 void gst_message_parse_new_clock (GstMessage *message, GstClock **clock); |
|
431 #ifdef __SYMBIAN32__ |
|
432 IMPORT_C |
|
433 #endif |
|
434 |
|
435 void gst_message_parse_segment_start (GstMessage *message, GstFormat *format, gint64 *position); |
|
436 #ifdef __SYMBIAN32__ |
|
437 IMPORT_C |
|
438 #endif |
|
439 |
|
440 void gst_message_parse_segment_done (GstMessage *message, GstFormat *format, gint64 *position); |
|
441 #ifdef __SYMBIAN32__ |
|
442 IMPORT_C |
|
443 #endif |
|
444 |
|
445 void gst_message_parse_duration (GstMessage *message, GstFormat *format, gint64 *duration); |
|
446 #ifdef __SYMBIAN32__ |
|
447 IMPORT_C |
|
448 #endif |
|
449 |
|
450 void gst_message_parse_async_start (GstMessage *message, gboolean *new_base_time); |
|
451 #ifdef __SYMBIAN32__ |
|
452 IMPORT_C |
|
453 #endif |
|
454 |
|
455 |
|
456 const GstStructure * gst_message_get_structure (GstMessage *message); |
700 const GstStructure * gst_message_get_structure (GstMessage *message); |
457 |
701 |
458 G_END_DECLS |
702 G_END_DECLS |
459 |
703 |
460 #endif /* __GST_MESSAGE_H__ */ |
704 #endif /* __GST_MESSAGE_H__ */ |