Codota Logo
Media.nativeParse
Code IndexAdd Codota to your IDE (free)

How to use
nativeParse
method
in
org.videolan.libvlc.Media

Best Java code snippets using org.videolan.libvlc.Media.nativeParse (Showing top 5 results out of 315)

  • Common ways to obtain Media
private void myMethod () {
Media m =
  • Codota IconLibVLC libVLC;Uri uri;new Media(libVLC, uri)
  • Codota IconLibVLC libVLC;String path;new Media(libVLC, path)
  • Codota IconSparseArray sparseArray;sparseArray.get(key)
  • Smart code suggestions by Codota
}
origin: ymcao/YaPlayer

/**
 * Parse the media synchronously with a flag. This Media should be alive (not released).
 *
 * @param flags see {@link Parse}
 * @return true in case of success, false otherwise.
 */
public boolean parse(int flags) {
  boolean parse = false;
  synchronized (this) {
    if ((mParseStatus & (PARSE_STATUS_PARSED | PARSE_STATUS_PARSING)) == 0) {
      mParseStatus |= PARSE_STATUS_PARSING;
      parse = true;
    }
  }
  if (parse && nativeParse(flags)) {
    postParse();
    return true;
  } else
    return false;
}
origin: mrmaffen/vlc-android-sdk

/**
 * Parse the media synchronously with a flag. This Media should be alive (not released).
 *
 * @param flags see {@link Parse}
 * @return true in case of success, false otherwise.
 */
public boolean parse(int flags) {
  boolean parse = false;
  synchronized (this) {
    if ((mParseStatus & (PARSE_STATUS_PARSED | PARSE_STATUS_PARSING)) == 0) {
      mParseStatus |= PARSE_STATUS_PARSING;
      parse = true;
    }
  }
  if (parse && nativeParse(flags)) {
    postParse();
    return true;
  } else
    return false;
}
origin: wobiancao/RtspServerAndVlcPlay

/**
 * Parse the media synchronously with a flag. This Media should be alive (not released).
 *
 * @param flags see {@link Parse}
 * @return true in case of success, false otherwise.
 */
public boolean parse(int flags) {
  boolean parse = false;
  synchronized (this) {
    if ((mParseStatus & (PARSE_STATUS_PARSED | PARSE_STATUS_PARSING)) == 0) {
      mParseStatus |= PARSE_STATUS_PARSING;
      parse = true;
    }
  }
  if (parse && nativeParse(flags)) {
    postParse();
    return true;
  } else
    return false;
}
origin: Shirlman/YiPlayer

/**
 * Parse the media synchronously with a flag. This Media should be alive (not released).
 *
 * @param flags see {@link Parse}
 * @return true in case of success, false otherwise.
 */
public boolean parse(int flags) {
  boolean parse = false;
  synchronized (this) {
    if ((mParseStatus & (PARSE_STATUS_PARSED | PARSE_STATUS_PARSING)) == 0) {
      mParseStatus |= PARSE_STATUS_PARSING;
      parse = true;
    }
  }
  if (parse && nativeParse(flags)) {
    postParse();
    return true;
  } else
    return false;
}
origin: pedroSG94/vlc-example-streamplayer

/**
 * Parse the media synchronously with a flag. This Media should be alive (not released).
 *
 * @param flags see {@link Parse}
 * @return true in case of success, false otherwise.
 */
public boolean parse(int flags) {
  boolean parse = false;
  synchronized (this) {
    if ((mParseStatus & (PARSE_STATUS_PARSED | PARSE_STATUS_PARSING)) == 0) {
      mParseStatus |= PARSE_STATUS_PARSING;
      parse = true;
    }
  }
  if (parse && nativeParse(flags)) {
    postParse();
    return true;
  } else
    return false;
}
org.videolan.libvlcMedianativeParse

Popular methods of Media

  • <init>
  • addOption
    Add an option to this Media. This Media should be alive (not released).
  • release
  • setHWDecoderEnabled
    Add or remove hw acceleration media options
  • parse
    Parse the media synchronously with a flag. This Media should be alive (not released).
  • parseAsync
    Parse the media asynchronously with a flag. This Media should be alive (not released). To track when
  • getMediaCodecModule
  • getTrack
    Get a Track The Track can be casted to AudioTrack, VideoTrack or SubtitleTrack in function of the Tr
  • getTrackCount
    Get the Track count.
  • getTracks
  • isReleased
  • nativeAddOption
  • isReleased,
  • nativeAddOption,
  • nativeAddSlave,
  • nativeClearSlaves,
  • nativeGetDuration,
  • nativeGetMeta,
  • nativeGetMrl,
  • nativeGetSlaves,
  • nativeGetState,
  • nativeGetTracks

Popular in Java

  • Making http post requests using okhttp
  • setScale (BigDecimal)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • putExtra (Intent)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • FileInputStream (java.io)
    A FileInputStream obtains input bytes from a file in a file system. What files are available depends
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now